zouhir / jarvis

A very intelligent browser based Webpack dashboard
5.44k stars 191 forks source link

Any update? #147

Open Sparklytical opened 4 years ago

Sparklytical commented 4 years ago

Can you just remove 2 errors? Tapable.plugin use hook directly tabaple call plugin directly. or guide me a bit, i will fix it.

shangfeiSF commented 4 years ago

// report the webpack compiler progress // compiler.apply( new webpack.ProgressPlugin((percentage, message) => { this.reports.progress = { percentage, message }; if (this.env.running) { jarvis.io.emit("progress", { percentage, message }); } }).apply(compiler); // )

shangfeiSF commented 4 years ago

// extract the final reports from the stats! compiler.hooks.done.tap("done", stats => {

shangfeiSF commented 4 years ago

compiler.hooks.run.tapAsync("run", (c, done) => {

shangfeiSF commented 4 years ago

compiler.hooks.watchRun.tapAsync("watch-run", (c, done) => {

shangfeiSF commented 4 years ago

Can you just remove 2 errors? Tapable.plugin use hook directly tabaple call plugin directly. or guide me a bit, i will fix it.

You can use npm scripts to fix these code by yourself when you using. Or I will fix the 2 errors finally.