From de907f44ce1b3bf2f6df4d985986efba0e13ed56 Mon Sep 17 00:00:00 2001 From: Drew Powers <1369770+drwpow@users.noreply.github.com> Date: Mon, 15 Nov 2021 17:20:29 -0700 Subject: [PATCH] Add Autoprefixer change to 0.21 migration guide (#1841) --- docs/src/pages/migration/0.21.0.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/src/pages/migration/0.21.0.md b/docs/src/pages/migration/0.21.0.md index bc3ce72a0..c61d04be7 100644 --- a/docs/src/pages/migration/0.21.0.md +++ b/docs/src/pages/migration/0.21.0.md @@ -186,5 +186,21 @@ To learn more about Vite plugins, please visit their [plugin guide](https://vite > In prior releases, these were configured with `snowpackPlugin` or `snowpackPluginOptions`. +## Styling Changes + +### Autoprefixer + +Autoprefixer is no longer run by default. To enable: + +1. Install the latest version (`npm i autoprefixer`) +2. Create a `postcss.config.cjs` file at the root of your project with: + ```js + module.exports = { + plugins: { + autoprefixer: {}, + }, + }; + ``` + [snowpack]: https://www.snowpack.dev [vite]: https://vitejs.dev