From 4c71117b61fcbba48d17a123d5e08c68d758ef57 Mon Sep 17 00:00:00 2001 From: Alexander Zinchuk Date: Fri, 23 Feb 2024 14:06:00 +0100 Subject: [PATCH] Update the css class name obfuscation rule (#4264) --- webpack.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]', }, }, },