Merge pull request #12176 from bz2/mangle_private_members
Allow private class members to be mangled
This commit is contained in:
@@ -60,6 +60,10 @@ module.exports = {
|
||||
// Do not minify examples that inject code into workers
|
||||
exclude: [/(color-manipulation|region-growing|raster)\.js/],
|
||||
extractComments: false,
|
||||
terserOptions: {
|
||||
// Mangle private members convention with underscore suffix
|
||||
mangle: {properties: {regex: /_$/}},
|
||||
},
|
||||
}),
|
||||
],
|
||||
runtimeChunk: {
|
||||
|
||||
Reference in New Issue
Block a user