Update the css class name obfuscation rule (#4264)

This commit is contained in:
Alexander Zinchuk 2024-02-23 14:06:00 +01:00
parent 64cd8ab7dd
commit 4c71117b61

View File

@ -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]',
},
},
},