Fix various prod bugs

This commit is contained in:
pikiou
2021-11-22 05:58:18 +01:00
parent 581393f78e
commit 003ea65979
5 changed files with 11 additions and 15 deletions

View File

@@ -16,7 +16,7 @@ const getStyleLoaders = (isWeb: boolean, isSass?: boolean) => {
importLoaders: isSass ? 2 : 1,
modules: {
auto: true,
localIdentName: isDev ? "[path][name]__[local]" : "[hash:base64]",
localIdentName: "[path][name]__[local]", // Don't use hash:base64, a bug makes it generate different hashes in the .js and the .css files
exportOnlyLocals: !isWeb,
},
},