Webpack configuration for React Front Module

Hi…
I want to configure the webpack.config.js file to add Plugin,
Should i use the file,
/project/modules/front/node_modules/react-scripts/config/webpack.config.js
to configure the Plugin…?

Hi,
By default all build scripts are hidden by create-react-app.
There are two options you can use to modify webpack configuration and other scripts:

  • Use create-react-app’s eject script. It will expose all configuration. This is one-way operation, please read the docs.
  • Use react-app-rewired or alternatives which provide extension points without ejection.