Using hashed CSS names for production

This commit is contained in:
WolverinDEV 2020-04-18 22:45:18 +02:00
parent 644d9a8816
commit fbec274c07

View file

@ -113,7 +113,7 @@ export const config = async (target: "web" | "client") => { return {
options: {
modules: {
mode: "local",
localIdentName: '[path][name]__[local]--[hash:base64:5]', //FIXME: Debug mode only!
localIdentName: isDevelopment ? "[path][name]__[local]--[hash:base64:5]" : "[hash:base64]",
},
sourceMap: isDevelopment
}