Skip to content

Instantly share code, notes, and snippets.

@AllenFang
Last active July 16, 2018 07:42
Show Gist options
  • Save AllenFang/8d2da6151019130441068edaba648ed8 to your computer and use it in GitHub Desktop.
Save AllenFang/8d2da6151019130441068edaba648ed8 to your computer and use it in GitHub Desktop.
new UglifyJSPlugin({
uglifyOptions: {
toplevel: true,
mangle: {
properties: {
regex: /REGEXS/
}
}
},
// ...
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment