Closed Hongbusi closed 3 weeks ago
"webpack": "^5.68.0", "webpackbar": "^5.0.2"
const webpack = require('webpack'); const WebpackBar = require('webpackbar'); const compiler = webpack([{}, {}]); new WebpackBar().apply(compiler);
compiler.hooks[hookName].tap("WebpackBar:" + hookName, fn);
Multi compiler not supported.
in repo playground we test webpack5 with multi compiler. feel free to reopen if you could reproduce it against latest version.
Cannot read property 'tap' of undefined.
Environment
Problem
compiler.hooks[hookName].tap("WebpackBar:" + hookName, fn);
Reason
Multi compiler not supported.