diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2020-07-31 14:14:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-31 14:14:21 +0200 |
commit | fce6df06e2bd1d68ee5614621ae7f92c6f7fa53d (patch) | |
tree | 0b9a6f3612973a7445f3ebc6c2a308da881978fd /webpack.common.js | |
parent | a2a3b87c19662f06cfb804b9fead7e939b1c3e6c (diff) | |
parent | f23bc7a68e2b3bae2a543f0f224c9f01e850f7ef (diff) | |
download | nextcloud-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.js | 11 |
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', ]), }, { |