Skip to content

Commit

Permalink
[KOA-5703]: Bump css-loader and sass-loader
Browse files Browse the repository at this point in the history
  • Loading branch information
olliecurtis committed Jul 3, 2023
1 parent b62faed commit 66a9c6b
Show file tree
Hide file tree
Showing 3 changed files with 314 additions and 918 deletions.
22 changes: 15 additions & 7 deletions .storybook/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,19 @@ module.exports = ({ config }) => {
options: {
importLoaders: 1,
modules: useCssModules,
localIdentName: '[local]-[hash:base64:5]',
// localIdentName: '[local]-[hash:base64:5]',
},
},
{
loader: 'postcss-loader',
options: {
plugins: postCssPlugins,
},
},
postcssOptions: {
plugins: [

Check failure on line 67 in .storybook/webpack.config.js

View workflow job for this annotation

GitHub Actions / Build / Build

Replace `⏎··············postCssPlugins⏎············` with `postCssPlugins`
postCssPlugins
],
},
},

Check failure on line 71 in .storybook/webpack.config.js

View workflow job for this annotation

GitHub Actions / Build / Build

Delete `·`
}

Check failure on line 72 in .storybook/webpack.config.js

View workflow job for this annotation

GitHub Actions / Build / Build

Insert `,`
],
});
config.module.rules.push({
Expand All @@ -79,14 +83,18 @@ module.exports = ({ config }) => {
options: {
importLoaders: 1,
modules: useCssModules,
localIdentName: '[local]-[hash:base64:5]',
// localIdentName: '[local]-[hash:base64:5]',
},
},
{
loader: 'postcss-loader',
options: {
plugins: postCssPlugins,
},
postcssOptions: {
plugins: [

Check failure on line 93 in .storybook/webpack.config.js

View workflow job for this annotation

GitHub Actions / Build / Build

Replace `⏎··············postCssPlugins⏎············` with `postCssPlugins`
postCssPlugins
],
},
},

Check failure on line 97 in .storybook/webpack.config.js

View workflow job for this annotation

GitHub Actions / Build / Build

Delete `·`
},
{
loader: 'sass-loader',
Expand Down
Loading

0 comments on commit 66a9c6b

Please sign in to comment.