Webpack-cli: Bug: ProgressPlugin in config file doesn't work as expected

Created on 25 Apr 2020  路  8Comments  路  Source: webpack/webpack-cli

Describe the bug

What is the current behavior?
When I mention ProgressPlugin in webpack config file. It does not show the progress of webpack compilation.

To Reproduce

Steps to reproduce the behavior:

Add ProgressPlugin in webpack config file

Expected behavior
It should show the progress of compilation process.

Screenshots

Please paste the results of webpack-cli info here, and mention other relevant information

Additional context

All 8 comments

we support webpack --progress to show progress.

@snitin315 we should add tests and keep what we don't add ProgressPlugin twice and respect output with ProgressPlugin and with the --progress flag

/cc @webpack/cli-team need test

in near future

@evilebottnawi what should be the behaviour when ProgressPlugin is manually applied along with --progress should we add it only once and if yes then the one coming from config right?

Yes, --progress should do nothing if you already have ProgressPlugin

I think it is already fixed, need add test(s)

gotcha on it

Was this page helpful?
0 / 5 - 0 ratings

Related issues

snitin315 picture snitin315  路  5Comments

AjayPoshak picture AjayPoshak  路  5Comments

anshumanv picture anshumanv  路  3Comments

sam-s4s picture sam-s4s  路  5Comments

r00nscapenab picture r00nscapenab  路  4Comments