Hi,
We are starting to build against webpack5 in experimental and the
package needed for local build is webpack and node-webpack-source from
experimental.
During a test rebuild, node-stats-webpack-plugin was found to fail to
build in that situation due to a failing test.
Relevant part (hopefully):
dh_auto_test --buildsystem=nodejs
mkdir -p node_modules
ln -s ../. node_modules/stats-webpack-plugin
/bin/sh -ex debian/tests/pkg-js/test
+ mocha -R spec --timeout=30000
StatsWebpackPlugin
(node:32540) [DEP_WEBPACK_COMPILATION_ASSETS] DeprecationWarning:
Compilation.assets will be frozen in future, all modifications are
deprecated.
BREAKING CHANGE: No more changes should happen to Compilation.assets
after sealing the Compilation.
Do changes to assets earlier, e. g. in
Compilation.hooks.processAssets.
Make sure to select an appropriate stage from
Compilation.PROCESS_ASSETS_STAGE_*.
undefined generates `stats.json` file (2378ms)
1) supports multi-compile mode and outputs one `stats.json` file
1 passing (3s)
1 failing
1) StatsWebpackPlugin
supports multi-compile mode and outputs one `stats.json` file:
Uncaught AssertionError: expected { Object (file1, file2) } to
deeply equal { Object (file1, file2) }
+ expected - actual
{
- "file1": [
- "bundle1.js"
- ]
- "file2": [
- "bundle2.js"
- ]
+ "file1": "bundle1.js"
+ "file2": "bundle2.js"
}
at /<<PKGBUILDDIR>>/test/plugin.js:101:48
at /usr/share/nodejs/webpack/lib/MultiCompiler.js:554:14
at processQueueWorker
(/usr/share/nodejs/webpack/lib/MultiCompiler.js:491:6)
at processTicksAndRejections (internal/process/task_queues.js:79:11)
The full log is attached to this mail