Skip to content

[Feature]: Increase memory with a flag / Support Node Flags #289

Description

@damianobarbati

Could webpack-cli handle the memory limit increase with a flag?

Right now we have to manually use:
node --max_old_space_size=4096 node_modules/webpack/bin/webpack.js

A simple flag would be very nice instead:
webpack --increase-memory 4096

Or multiple custom node options like:
webpack --node.increase-memory 4096 --node.trace-deprecation --node.experimental-modules

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions