mirror of
https://github.com/bitwarden/web
synced 2025-12-06 00:03:28 +00:00
Define Angular CLI globals to support tree shaking (#1541)
This commit is contained in:
@@ -250,6 +250,13 @@ const webpackConfig = {
|
||||
new TerserPlugin({
|
||||
terserOptions: {
|
||||
safari10: true,
|
||||
// Replicate Angular CLI behaviour
|
||||
compress: {
|
||||
global_defs: {
|
||||
ngDevMode: false,
|
||||
ngI18nClosureMode: false,
|
||||
},
|
||||
},
|
||||
},
|
||||
}),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user