Skip to content

Document webpack change: add percentBy options to ProgressPlugin #3519

@webpack-bot

Description

@webpack-bot

A pull request by @smelukov was merged and maintainers requested a documentation change.

See pull request: webpack/webpack#10315


What kind of change does this PR introduce?

feature

Motivation: on huge projects, there is super incorrect percent value. This feature makes possible to specify the percent calculation algorithm. For example on huge projects percentBy: "entries" gives more correctly percent value cause there are much entrypoints and they are known in advance

Did you add tests for your changes?

no, but added some other tests

Does this PR introduce a breaking change?

no

What needs to be documented once your changes are merged?
ProgressPlugins has a new option percentBy which can take "entries" "dependencies" "modules" or null (default).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions