From ba20900aef51080f2ce58d1eb0166fa2a062aed0 Mon Sep 17 00:00:00 2001 From: yann300 Date: Thu, 14 Dec 2017 15:28:02 +0100 Subject: [PATCH] double check for optimisation --- src/app/compiler/compiler-input.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/compiler/compiler-input.js b/src/app/compiler/compiler-input.js index 823403f82d..f4e5ddd58e 100644 --- a/src/app/compiler/compiler-input.js +++ b/src/app/compiler/compiler-input.js @@ -6,7 +6,7 @@ module.exports = (sources, opts) => { sources: sources, settings: { optimizer: { - enabled: opts.optimize === true, + enabled: opts.optimize === true || opts.optimize === 1, runs: 500 }, libraries: opts.libraries,