From d3e1567d7f8729d8349769dbf30c67df9c71b8ab Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Thu, 2 Apr 2020 09:40:05 +0200 Subject: Compile some more libs to make IE load Signed-off-by: Joas Schilling --- babel.config.js | 12 ++++++++++++ webpack.common.js | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 babel.config.js diff --git a/babel.config.js b/babel.config.js new file mode 100644 index 000000000..3a365aec6 --- /dev/null +++ b/babel.config.js @@ -0,0 +1,12 @@ +module.exports = { + presets: [ + [ + '@babel/preset-env', + { + corejs: 3, + useBuiltIns: 'usage', + modules: false, + }, + ], + ], +} diff --git a/webpack.common.js b/webpack.common.js index 2a2e1b3f2..2e0ad336b 100644 --- a/webpack.common.js +++ b/webpack.common.js @@ -42,7 +42,7 @@ module.exports = { { test: /\.js$/, loader: 'babel-loader', - exclude: /node_modules/, + exclude: /node_modules(?!(\/|\\)(@juliushaertl\/vue-richtext|fast-xml-parser|hot-patcher|nextcloud-vue-collections|webdav)(\/|\\))/, }, { /** -- cgit v1.2.3