Skip to content

[Feature Request]: --no-cache flag for webpack@5 #1095

Closed
@Andarist

Description

@Andarist

Is your feature request related to a problem? Please describe.
I often (well, from time to time) find myself editing node_modules by hand to debug a particular problem with some dependency. And webpack@5 with its persistent caching might make this process rather difficult - because it would require changing a config.

Actually you already have --cache=false here, but I'm not sure if this right now can disable persistent caching and Tobias has kinda redirected me to here with this feature request. If this is already handled - then sorry for reporting and feel free to close this.

Describe the solution you'd like
a special CLI flag that would disable persistent caching for a current build

Describe alternatives you've considered
n/a

Additional context
webpack/webpack#9802 (comment)

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