CB-2503 build: keep class and function names

This commit is contained in:
Wroud
2022-09-09 17:44:54 +03:00
parent 328b18fcce
commit edc012b733
@@ -74,6 +74,10 @@ module.exports = (env, argv) => merge(commonConfig(env, argv), {
minimizer: [new TerserPlugin({
extractComments: /Copyright \(C\)/i,
terserOptions: {
keep_classnames: true,
keep_fnames: true,
},
})],
},
plugins: [