From 80559746efa233ca6ecb553dec02a23e9a93d4ee Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Fri, 22 Jan 2021 11:08:19 +0800 Subject: [PATCH] Apply suggestions from code review --- MIGRATION.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MIGRATION.md b/MIGRATION.md index 2909ff9beea..18f22bfac73 100644 --- a/MIGRATION.md +++ b/MIGRATION.md @@ -200,7 +200,7 @@ Please also file an issue if you need to opt out. We plan to remove the legacy r Previously, `@storybook/core` would automatically add the `postcss-loader` to your preview. This caused issues for consumers when PostCSS upgraded to v8 and tools, like Autoprefixer and Tailwind, starting requiring the new version. Implictly adding `postcss-loader` will be removed in Storybook 7.0. -Instead of continuing to include PostCSS inside the core library, it has been moved to [`@storybook/addon-postcss`](https://github.com/storybookjs/addon-postcss). This addon will provide more fine-grained customization and will be upgraded more flexibly to track PostCSS upgrades. +Instead of continuing to include PostCSS inside the core library, it has been moved to [`@storybook/addon-postcss`](https://github.com/storybookjs/addon-postcss). This addon provides more fine-grained customization and will be upgraded more flexibly to track PostCSS upgrades. If you require PostCSS support, please install `@storybook/addon-postcss` in your project, add it to your list of addons inside `.storybook/main.js`, and configure a `postcss.config.js` file. @@ -210,7 +210,7 @@ Further information is available at https://github.com/storybookjs/storybook/iss When relying on the [implicit PostCSS loader](#deprecated-implicit-postcss-loader), it would also add [autoprefixer v9](https://www.npmjs.com/package/autoprefixer/v/9.8.6) and [postcss-flexbugs-fixes v4](https://www.npmjs.com/package/postcss-flexbugs-fixes/v/4.2.1) plugins to the `postcss-loader` configuration when you didn't have a PostCSS config file (such as `postcss.config.js`) within your project. -They will no longer be applied when switching to `@storybook/addon-postcss` and the implicit PostCSS features will be remove in Storybook 7.0. +They will no longer be applied when switching to `@storybook/addon-postcss` and the implicit PostCSS features will be removed in Storybook 7.0. If you depend upon these plugins being applied, install them and create a `postcss.config.js` file within your project that contains: