summaryrefslogtreecommitdiffstats
path: root/webpack.common.js
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2020-07-31 14:14:21 +0200
committerGitHub <noreply@github.com>2020-07-31 14:14:21 +0200
commitfce6df06e2bd1d68ee5614621ae7f92c6f7fa53d (patch)
tree0b9a6f3612973a7445f3ebc6c2a308da881978fd /webpack.common.js
parenta2a3b87c19662f06cfb804b9fead7e939b1c3e6c (diff)
parentf23bc7a68e2b3bae2a543f0f224c9f01e850f7ef (diff)
downloadnextcloud-server-fce6df06e2bd1d68ee5614621ae7f92c6f7fa53d.tar.gz
nextcloud-server-fce6df06e2bd1d68ee5614621ae7f92c6f7fa53d.zip
Merge pull request #22074 from nextcloud/fix/babel/ie11-@nextcloud/event-bus
Add @nextcloud/event-bus to babel transpile
Diffstat (limited to 'webpack.common.js')
-rw-r--r--webpack.common.js11
1 files changed, 6 insertions, 5 deletions
diff --git a/webpack.common.js b/webpack.common.js
index e9adf418107..f61c0233874 100644
--- a/webpack.common.js
+++ b/webpack.common.js
@@ -1,7 +1,7 @@
/* eslint-disable camelcase */
const { merge } = require('webpack-merge')
const { VueLoaderPlugin } = require('vue-loader')
-const babelLoaderExcludeNodeModulesExcept = require('babel-loader-exclude-node-modules-except')
+const BabelLoaderExcludeNodeModulesExcept = require('babel-loader-exclude-node-modules-except')
const path = require('path')
const accessibility = require('./apps/accessibility/webpack')
@@ -86,7 +86,10 @@ module.exports = []
loader: 'babel-loader',
// automatically detect necessary packages to
// transpile in the node_modules folder
- exclude: babelLoaderExcludeNodeModulesExcept([
+ exclude: BabelLoaderExcludeNodeModulesExcept([
+ '@nextcloud/dialogs',
+ '@nextcloud/event-bus',
+ 'davclient.js',
'nextcloud-vue-collections',
'p-finally',
'p-limit',
@@ -94,11 +97,9 @@ module.exports = []
'p-queue',
'p-timeout',
'p-try',
+ 'semver',
'toastify-js',
'v-tooltip',
- '@nextcloud/dialogs',
- 'davclient.js',
- 'semver',
]),
},
{