mirror of
https://github.com/nicolargo/glances.git
synced 2026-09-14 22:31:23 -04:00
Fix broken WebUI build: declare terser-webpack-plugin explicitly
webpack.config.js requires terser-webpack-plugin, but the package was
never declared in package.json. It only resolved through npm hoisting,
because webpack itself depended on it up to 5.107.2.
webpack 5.110.3 replaced that internal dependency with
minimizer-webpack-plugin, so the phantom dependency disappeared from
node_modules and `make webui` failed before the build even started:
Cannot find module 'terser-webpack-plugin'
at Object.<anonymous> (glances/outputs/static/webpack.config.js:5:29)
Declare it in devDependencies so the config no longer depends on
another package's transitive dependency tree.
Also includes the JS dependency bumps from `make webui-update` and the
regenerated bundles.
This commit is contained in:
1 parent
a28ba033a8
commit
a0812e36e4
4 files changed
+876
-696
No files matched your search
Generated
+861
-682
File diff suppressed because it is too large.
Load diff
@@ -3,32 +3,33 @@
|
||||
"dependencies": {
|
||||
"bootstrap": "^5.3.8",
|
||||
"favico.js": "^0.3.10",
|
||||
"hotkeys-js": "^4.0.4",
|
||||
"hotkeys-js": "^4.0.7",
|
||||
"lodash": "^4.18.1",
|
||||
"sanitize-html": "^2.17.5",
|
||||
"vue": "^3.5.31"
|
||||
"sanitize-html": "^2.17.7",
|
||||
"vue": "^3.5.42"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@eslint/js": "^10.0.1",
|
||||
"@vue/compiler-sfc": "^3.5.13",
|
||||
"copy-webpack-plugin": "^14.0.0",
|
||||
"css-loader": "^7.1.4",
|
||||
"css-loader": "^7.1.5",
|
||||
"del": "^8.0.1",
|
||||
"eslint": "^10.5.0",
|
||||
"eslint": "^10.10.0",
|
||||
"eslint-config-prettier": "^10.1.8",
|
||||
"eslint-plugin-vue": "^10.9.2",
|
||||
"globals": "^17.6.0",
|
||||
"html-webpack-plugin": "^5.6.7",
|
||||
"less": "^4.6.4",
|
||||
"eslint-plugin-vue": "^10.10.0",
|
||||
"globals": "^17.12.0",
|
||||
"html-webpack-plugin": "^5.6.8",
|
||||
"less": "^4.9.1",
|
||||
"less-loader": "^12.3.3",
|
||||
"sass": "^1.101.0",
|
||||
"sass": "^1.104.0",
|
||||
"sass-loader": "^16.0.8",
|
||||
"style-loader": "^4.0.0",
|
||||
"typescript-eslint": "^8.61.0",
|
||||
"terser-webpack-plugin": "^5.6.1",
|
||||
"typescript-eslint": "^8.69.0",
|
||||
"vue-loader": "^17.4.2",
|
||||
"webpack": "^5.107.2",
|
||||
"webpack-cli": "^7.0.3",
|
||||
"webpack-dev-server": "^5.2.5"
|
||||
"webpack": "^5.110.3",
|
||||
"webpack-cli": "^7.2.3",
|
||||
"webpack-dev-server": "^5.2.6"
|
||||
},
|
||||
"overrides": {
|
||||
"eslint": {
|
||||
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
Reference in new issue
Block a user