From 56d2e085f5f3e0e66e58b228342c204636426b5d Mon Sep 17 00:00:00 2001 From: Filipp Riabchun Date: Mon, 8 Apr 2024 17:51:22 +0200 Subject: [PATCH] Update CSS Loader settings --- webpack.config.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webpack.config.js b/webpack.config.js index d01c91fded1..4aa33519bf6 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -21,6 +21,8 @@ function createConfig() { loader: require.resolve('css-loader'), options: { modules: { + namedExport: false, + exportLocalsConvention: 'as-is', localIdentName: '[local]_[hash:4]' }, importLoaders: 1