diff --git a/docs/source/upgrade-guide/index.md b/docs/source/upgrade-guide/index.md index e90ba7d0900..92c2a220525 100644 --- a/docs/source/upgrade-guide/index.md +++ b/docs/source/upgrade-guide/index.md @@ -99,7 +99,7 @@ Update the Storybook configuration file {file}`.storybook/main.js`. ```diff - const scssPlugin = require('razzle-plugin-scss'); -+ const scssPlugin = require('@plone/babel-preset-razzle/webpack-plugins/webpack-scss-plugin'); ++ const scssPlugin = require('@plone/volto/webpack-plugins/webpack-scss-plugin'); - const createConfig = require('razzle/config/createConfigAsync.js'); + const createConfig = require('@plone/razzle/config/createConfigAsync.js'); ``` @@ -409,6 +409,13 @@ We pinned the version of `sass` to `1.32.0`, which is the one before they introd It is unlikely that using this version will cause problems since no real new features were added in later versions that are relevant for Volto developers. In case that you need a later version of `sass` in your project or add-on, you can override it in your project's {file}`package.json` file. +Update the Storybook configuration file {file}`.storybook/main.js`. + +```diff +- const scssPlugin = require('razzle-plugin-scss'); ++ const scssPlugin = require('@plone/volto/webpack-plugins/webpack-scss-plugin'); +``` + ### Table block is now wrapped with containers to support horizontal scrolling on small viewports ```{versionadded} Volto 19.0.0-alpha.26 ``` diff --git a/packages/volto/news/8045.documentation b/packages/volto/news/8045.documentation new file mode 100644 index 00000000000..b4f28dee707 --- /dev/null +++ b/packages/volto/news/8045.documentation @@ -0,0 +1 @@ +Added missing steps for `webpack-scss-plugin` in the upgrade guide. @ksuess \ No newline at end of file