Skip to content

Commit 56d2e08

Browse files
committed
Update CSS Loader settings
1 parent f49c364 commit 56d2e08

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

webpack.config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ function createConfig() {
2121
loader: require.resolve('css-loader'),
2222
options: {
2323
modules: {
24+
namedExport: false,
25+
exportLocalsConvention: 'as-is',
2426
localIdentName: '[local]_[hash:4]'
2527
},
2628
importLoaders: 1

0 commit comments

Comments
 (0)