From 628d035f908a964e7b0f1fedfc540acbcb2c8b4a Mon Sep 17 00:00:00 2001 From: Yan Wang Date: Mon, 9 Sep 2024 20:14:03 +0800 Subject: [PATCH] fix css modules config --- .../config/webpack.config.common.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tools/scripts-config-react-webpack/config/webpack.config.common.js b/tools/scripts-config-react-webpack/config/webpack.config.common.js index 18c04eb045..1ad11dffd0 100644 --- a/tools/scripts-config-react-webpack/config/webpack.config.common.js +++ b/tools/scripts-config-react-webpack/config/webpack.config.common.js @@ -29,10 +29,6 @@ function getCommonStyleLoaders(enableModules, isEnvDevelopmentServe) { const sourceMap = true; let cssOptions = { sourceMap, - modules: { - namedExport: false, - exportLocalsConvention: 'as-is', - }, }; if (enableModules) { cssOptions = {