diff --git a/config/rollup.plugins.js b/config/rollup.plugins.js index 0008a0355..45a698cfe 100644 --- a/config/rollup.plugins.js +++ b/config/rollup.plugins.js @@ -38,7 +38,7 @@ export function babelPlugin({ transpileToES5, allowConsole = false, allowPostMes '@babel/env', { targets, - loose: true, + loose: !transpileToES5, modules: false, bugfixes: true, }, diff --git a/package.json b/package.json index 0ee194af9..cf4f86e47 100644 --- a/package.json +++ b/package.json @@ -89,16 +89,16 @@ "./dist/**/*.mjs" ], "./dist/worker/worker.mjs": { - "brotli": "11.4 kB" + "brotli": "11.5 kB" }, "./dist/worker/worker.js": { - "brotli": "12.6 kB" + "brotli": "13 kB" }, "./dist/main.mjs": { - "brotli": "3.73 kB" + "brotli": "4 kB" }, "./dist/main.js": { - "brotli": "4.1 kB" + "brotli": "5 kB" } }, "esm": {