From 5ffffe8649aed3ce5d1974bbc73ac57c93380346 Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Sun, 10 Dec 2017 19:36:11 +0000 Subject: [PATCH] Update browser.js --- src/build/browser.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/build/browser.js b/src/build/browser.js index 0ed278716..03b141d88 100644 --- a/src/build/browser.js +++ b/src/build/browser.js @@ -39,7 +39,8 @@ function minify (ctx, task) { return fs.readFile(path.join(process.cwd(), 'dist', 'index.js')) .then((code) => { const result = Uglify.minify(code.toString(), { - mangle: false + mangle: false, + compress: false }) if (result.error) { throw result.error