refactor: CSS module names for dev

This commit is contained in:
cha0s 2022-03-17 16:41:13 -05:00
parent fdd5f9f074
commit 6cafa25dc6

View File

@ -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$/,