Skip to content

Enable extending webpack.config.js in packages/scripts/  #14560

@mor10

Description

@mor10

When using @wordpress/scripts, you can replace the existing webpack.config.js file with your own. It would be great if instead of having to build a full webpack config manually there was a way of extending the existing config to add a new module or similar. As an example, @svgr/webpack is useful in the context of blocks but using it means rewriting the entire webpack.config.js file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions