Skip to content

Commit

Permalink
Merge pull request #662 from fattslug/postcss-loader-v4
Browse files Browse the repository at this point in the history
Updating postcss-loader object
  • Loading branch information
adierkens authored Jul 13, 2021
2 parents 1568768 + 9e78291 commit 6440929
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion plugins/bundle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"dedent": "0.7.0",
"duplicate-package-checker-webpack-plugin": "3.0.0",
"get-monorepo-packages": "1.2.0",
"postcss-loader": "3.0.0",
"postcss-loader": "^4.2.0",
"style-loader": "1.2.1",
"terser-webpack-plugin": "4.1.0",
"tslib": "2.0.1",
Expand Down
13 changes: 7 additions & 6 deletions plugins/storybook/.storybook/modify-webpack.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,13 @@ async function addCss(config) {
loader: 'postcss-loader',
options: {
sourceMap: true,
ident: 'postcss',
plugins: (
await getPostCssConfig({
useModules: false
})
).plugins
postcssOptions: {
plugins: (
await getPostCssConfig({
useModules: false
})
).plugins
}
}
}
]
Expand Down

0 comments on commit 6440929

Please sign in to comment.