diff options
Diffstat (limited to 'rollup.config.js')
-rw-r--r-- | rollup.config.js | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/rollup.config.js b/rollup.config.js index 86b017e53..42664a319 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -20,10 +20,12 @@ module.exports = glob.sync('content/frontend/**/*.js').map(file => ({ name: file, }, plugins: [ - nodeResolve(), - nodePolyfills(), + nodeResolve({ browser: true, preferBuiltins: true }), commonjs(), - babel(), + nodePolyfills(), + babel({ + exclude: 'node_modules/**', + }), json(), vue(), importResolver({ |