Add @nextcloud/event-bus to babel transpile

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv) 2020-07-31 13:16:57 +02:00
parent a2a3b87c19
commit f23bc7a68e
No known key found for this signature in database
GPG Key ID: 60C25B8C072916CF
25 changed files with 29 additions and 32 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

4
package-lock.json generated
View File

@ -3859,10 +3859,6 @@
"regenerator-runtime": "^0.12.0" "regenerator-runtime": "^0.12.0"
} }
}, },
"core-js": {
"version": "https://registry.npmjs.org/core-js/-/core-js-2.6.11.tgz",
"integrity": "sha512-5wjnpaT/3dV+XB4borEsnAYQchn00XSgTAWKDkEqv+K8KevjbzmofK6hfJ9TZIlpj2N0xQpazy7PiRQiWHqzWg=="
},
"regenerator-runtime": { "regenerator-runtime": {
"version": "0.12.1", "version": "0.12.1",
"resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.12.1.tgz", "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.12.1.tgz",

View File

@ -1,7 +1,7 @@
/* eslint-disable camelcase */ /* eslint-disable camelcase */
const { merge } = require('webpack-merge') const { merge } = require('webpack-merge')
const { VueLoaderPlugin } = require('vue-loader') 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 path = require('path')
const accessibility = require('./apps/accessibility/webpack') const accessibility = require('./apps/accessibility/webpack')
@ -86,7 +86,10 @@ module.exports = []
loader: 'babel-loader', loader: 'babel-loader',
// automatically detect necessary packages to // automatically detect necessary packages to
// transpile in the node_modules folder // transpile in the node_modules folder
exclude: babelLoaderExcludeNodeModulesExcept([ exclude: BabelLoaderExcludeNodeModulesExcept([
'@nextcloud/dialogs',
'@nextcloud/event-bus',
'davclient.js',
'nextcloud-vue-collections', 'nextcloud-vue-collections',
'p-finally', 'p-finally',
'p-limit', 'p-limit',
@ -94,11 +97,9 @@ module.exports = []
'p-queue', 'p-queue',
'p-timeout', 'p-timeout',
'p-try', 'p-try',
'semver',
'toastify-js', 'toastify-js',
'v-tooltip', 'v-tooltip',
'@nextcloud/dialogs',
'davclient.js',
'semver',
]), ]),
}, },
{ {