mirror of
https://github.com/koush/scrypted.git
synced 2026-06-25 18:50:29 +01:00
sdk: remove terser
This commit is contained in:
@@ -121,15 +121,17 @@ module.exports = {
|
||||
optimization: {
|
||||
minimize: isProduction,
|
||||
minimizer: [
|
||||
new TerserPlugin({
|
||||
terserOptions: {
|
||||
mangle: {
|
||||
properties: {
|
||||
regex: /^[\$_]/
|
||||
}
|
||||
},
|
||||
},
|
||||
}),
|
||||
new TerserPlugin(
|
||||
// {
|
||||
// terserOptions: {
|
||||
// mangle: {
|
||||
// properties: {
|
||||
// regex: /^[\$_]/
|
||||
// }
|
||||
// },
|
||||
// },
|
||||
// }
|
||||
),
|
||||
],
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user