Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any update? #147

Open
Sparklytical opened this issue Dec 21, 2019 · 5 comments
Open

Any update? #147

Sparklytical opened this issue Dec 21, 2019 · 5 comments

Comments

@Sparklytical
Copy link

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
Copy link

// 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
Copy link

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

@shangfeiSF
Copy link

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

@shangfeiSF
Copy link

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

@shangfeiSF
Copy link

shangfeiSF commented May 9, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants