mirror of
https://github.com/nicolargo/glances.git
synced 2026-09-14 22:31:23 -04:00
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.
You are in the main Glances source folder. This page is **ONLY** for developers. If you are looking for the user manual, please follow this link: https://glances.readthedocs.io/en/stable/