mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-13 21:53:43 +01:00
Preserve "Exception" names when minifying (#7096)
GitOrigin-RevId: 41a869d0cb9f3506707c9d24d94f1c05825c51ab
This commit is contained in:
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user