Skip to content

Commit

Permalink
Merge pull request #1294 from Lapple/lapple/css-setup-fixes
Browse files Browse the repository at this point in the history
fix: css-loader got wrong options after latest fix
  • Loading branch information
fivethreeo committed May 12, 2020
2 parents 2535fbc + 80eff5a commit 7087508
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/razzle/config/createConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ module.exports = (
options: {
importLoaders: 1,
modules: { auto: true },
onlyLocals: true,
},
},
]
Expand All @@ -214,7 +215,8 @@ module.exports = (
{
loader: require.resolve('css-loader'),
options: {
importLoaders: 1
importLoaders: 1,
modules: { auto: true },
},
},
{
Expand Down

0 comments on commit 7087508

Please sign in to comment.