Skip to content

How to add plugins to Webpack? #481

Closed
@veenedu

Description

@veenedu

I want to add custom plugin to webpack build

I went to below location, modified the file and it worked.

root/node_modules/react_scripts/config/webpack.config.prod.js

Is there a better way of doing this. I don't like this.

I tried create+modify below file but that doesn't way

root/webpack.config.prod.js

Is there a correct way of doing that I don't know?

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