diff options
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', ]), }, { |