diff --git a/webpack.config.ts b/webpack.config.ts index db689ec86..3d8980109 100644 --- a/webpack.config.ts +++ b/webpack.config.ts @@ -135,7 +135,7 @@ export default function createConfig( modules: { exportLocalsConvention: 'camelCase', auto: true, - localIdentName: mode === 'production' ? '[hash:base64]' : '[name]__[local]', + localIdentName: APP_ENV === 'production' ? '[sha1:hash:base64:8]' : '[name]__[local]', }, }, },