Bump dependencies and webpack 5

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv) 2021-03-29 11:00:56 +02:00
parent a8338c1705
commit ce9182f313
No known key found for this signature in database
GPG Key ID: 60C25B8C072916CF
3 changed files with 903 additions and 894 deletions

1783
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -72,13 +72,14 @@
},
"devDependencies": {
"@babel/core": "^7.13.13",
"@babel/eslint-parser": "^7.13.10",
"@babel/plugin-proposal-object-rest-spread": "^7.13.8",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/preset-env": "^7.13.12",
"@nextcloud/browserslist-config": "^2.1.0",
"@nextcloud/eslint-config": "^3.0.0",
"@nextcloud/eslint-config": "^5.0.0",
"@nextcloud/eslint-plugin": "^2.0.0",
"@nextcloud/webpack-vue-config": "^3.0.0",
"@nextcloud/webpack-vue-config": "^4.0.1",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.2.2",
"css-loader": "^4.3.0",
@ -92,6 +93,7 @@
"eslint-plugin-vue": "^7.8.0",
"eslint-webpack-plugin": "^2.5.3",
"file-loader": "^6.2.0",
"node-polyfill-webpack-plugin": "^1.1.0",
"sass": "^1.32.8",
"sass-loader": "^10.1.1",
"style-loader": "^2.0.0",
@ -102,8 +104,8 @@
"url-loader": "^4.1.1",
"vue-loader": "^15.9.6",
"vue-template-compiler": "^2.6.12",
"webpack": "^4.46.0",
"webpack-cli": "^4.5.0",
"webpack": "^5.28.0",
"webpack-cli": "^4.6.0",
"webpack-node-externals": "^2.5.2"
},
"browserslist": [

View File

@ -4,6 +4,8 @@ const webpackConfig = require('@nextcloud/webpack-vue-config')
webpackConfig.entry['files-action'] = path.join(__dirname, 'src', 'files-action.js')
webpackConfig.entry['admin-settings'] = path.join(__dirname, 'src', 'admin-settings.js')
webpackConfig.plugins.push(new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/))
webpackConfig.plugins.push(...[
new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/),
])
module.exports = webpackConfig