diff options
author | Joas Schilling <coding@schilljs.com> | 2020-04-02 09:40:05 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-04-02 11:19:54 +0200 |
commit | d3e1567d7f8729d8349769dbf30c67df9c71b8ab (patch) | |
tree | e29f54427ce0042381cc85845a0c8c1e4616e507 | |
parent | 9d9a1d3ba7bb7bd397dd7ee24a029bf1de42a8d5 (diff) |
Compile some more libs to make IE load
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r-- | babel.config.js | 12 | ||||
-rw-r--r-- | webpack.common.js | 2 |
2 files changed, 13 insertions, 1 deletions
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)(\/|\\))/, }, { /** |