Skip to content

Commit a3188f6

Browse files
committed
fix(index): add except to mangle
1 parent 60bcc72 commit a3188f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import * as webpack from 'webpack'
88
*
99
* See: https://webpack.github.io/docs/list-of-plugins.html#uglifyjsplugin
1010
*/
11-
export = function uglify({debug = false, exclude = [], mangle = {screw_ie8 : true, keep_fnames: true}} = {}) {
11+
export = function uglify({debug = false, exclude = [], mangle = {screw_ie8 : true, keep_fnames: true, except: []}} = {}) {
1212
return function uglify(this: WebpackConfigWithMetadata): WebpackConfigWithMetadata {
1313
const options = debug ? {
1414
beautify: true, //debug

0 commit comments

Comments
 (0)