summaryrefslogtreecommitdiffstats
path: root/webpack.common.js
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2020-07-31 13:16:57 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2020-07-31 13:33:26 +0200
commitf23bc7a68e2b3bae2a543f0f224c9f01e850f7ef (patch)
tree0b9a6f3612973a7445f3ebc6c2a308da881978fd /webpack.common.js
parenta2a3b87c19662f06cfb804b9fead7e939b1c3e6c (diff)
downloadnextcloud-server-f23bc7a68e2b3bae2a543f0f224c9f01e850f7ef.tar.gz
nextcloud-server-f23bc7a68e2b3bae2a543f0f224c9f01e850f7ef.zip
Add @nextcloud/event-bus to babel transpile
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
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',
]),
},
{