diff --git a/config/uglifyjs.config.js b/config/uglifyjs.config.js index 2d74000c..02466cc1 100644 --- a/config/uglifyjs.config.js +++ b/config/uglifyjs.config.js @@ -7,12 +7,17 @@ module.exports = { * mangle: uglify 2's mangle option */ mangle: true, + + /** + * keep_fnames: uglify 2's keep_fnames option + */ + keep_fnames: true, /** * compress: uglify 2's compress option */ compress: { toplevel: true, - pure_getters: true + pure_getters: true } -}; \ No newline at end of file +};