Skip to content

Commit

Permalink
Update CSS Loader settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Hypnosphi committed Apr 9, 2024
1 parent f49c364 commit 56d2e08
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ function createConfig() {
loader: require.resolve('css-loader'),
options: {
modules: {
namedExport: false,
exportLocalsConvention: 'as-is',
localIdentName: '[local]_[hash:4]'
},
importLoaders: 1
Expand Down

0 comments on commit 56d2e08

Please sign in to comment.