refactor: CSS module names for dev
This commit is contained in:
parent
fdd5f9f074
commit
6cafa25dc6
|
@ -34,6 +34,9 @@ export default {
|
|||
neutrino.use(
|
||||
styleLoader({
|
||||
extract,
|
||||
modules: {
|
||||
localIdentName: isProduction ? '[hash]' : '[path][name]__[local]',
|
||||
},
|
||||
style,
|
||||
test: /\.(c|s[ac])ss$/,
|
||||
modulesTest: /\.module\.(c|s[ac])ss$/,
|
||||
|
|
Loading…
Reference in New Issue
Block a user