Skip to content

Commit 213ed2c

Browse files
committed
Fix. Use Base64 Hash For localIdentName
1 parent 4021ed4 commit 213ed2c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

webpack.config.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,7 @@ module.exports = (env, argv) => {
7979
loader: 'css-loader',
8080
options: {
8181
modules: {
82-
localIdentName: isProduction
83-
? '[path][local]--[hash:base64:5]'
84-
: '[hash:base64]',
82+
localIdentName: '[local]--[hash:base64:5]',
8583
},
8684
importLoaders: 1,
8785
},

0 commit comments

Comments
 (0)