release mode not compress

Signed-off-by: houhaoyu <houhaoyu@huawei.com>
Change-Id: Ifeddfa1c610f0a129e5112c6c89cd0aedcf9adb1
This commit is contained in:
houhaoyu
2022-04-14 18:33:58 +08:00
parent b08fe10038
commit be27db624c
+7 -1
View File
@@ -168,7 +168,13 @@ function setReleaseConfig(config) {
minimizer: [new TerserPlugin({
terserOptions: {
compress: {
join_vars: false
join_vars: false,
sequences: 0
},
format: {
semicolons: false,
beautify: true,
indent_level: 2
}
}
})]