about summary refs log tree commit diff
path: root/config/webpack
diff options
context:
space:
mode:
Diffstat (limited to 'config/webpack')
-rw-r--r--config/webpack/rules/css.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/config/webpack/rules/css.js b/config/webpack/rules/css.js
index 3b5b51232..52af1497e 100644
--- a/config/webpack/rules/css.js
+++ b/config/webpack/rules/css.js
@@ -9,7 +9,9 @@ module.exports = {
       options: {
         sourceMap: true,
         importLoaders: 2,
-        localIdentName: '[name]__[local]___[hash:base64:5]',
+        modules: {
+          localIdentName: '[name]__[local]___[hash:base64:5]',
+        },
       },
     },
     {