mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-24 17:43:40 +00:00
Preserve "Exception" names when minifying (#7096)
GitOrigin-RevId: 41a869d0cb9f3506707c9d24d94f1c05825c51ab
This commit is contained in:
parent
9d9bf8b9d0
commit
35b1aef765
1 changed files with 2 additions and 2 deletions
|
@ -45,8 +45,8 @@ module.exports = merge.smart(
|
|||
minimizer: [
|
||||
new TerserPlugin({
|
||||
terserOptions: {
|
||||
keep_classnames: /Error$/,
|
||||
keep_fnames: /Error$/,
|
||||
keep_classnames: /(Error|Exception)$/,
|
||||
keep_fnames: /(Error|Exception)$/,
|
||||
},
|
||||
}),
|
||||
new OptimizeCssAssetsPlugin(),
|
||||
|
|
Loading…
Reference in a new issue