diff --git a/.babelrc b/.babelrc index cd4b084e..55c6642f 100644 --- a/.babelrc +++ b/.babelrc @@ -3,6 +3,7 @@ [ "env", { + "loose": true, "targets": { "node": "8" } diff --git a/rollup.config.js b/rollup.config.js index 2080f75b..d630a7bc 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -54,7 +54,7 @@ export default { babel({ exclude: 'node_modules/**', babelrc: false, - presets: [['env', { modules: false }], 'stage-2'], + presets: [['env', { loose: true, modules: false }], 'stage-2'], plugins: ['external-helpers'] }), umd