Skip to content Skip to sidebar Skip to footer

How To Change The Default Configuration Files Used In Bootstrapping Of Reactjs Through Npm

I've created a very basic hello world reactJs application using create-react-app command which is part of npm. Here is the directory structure which I get as part of the applicatio

Solution 1:

If you want to change the build configuration you can run npm run eject which will remove the build dependency from your project and will add configuration files to your project, allowing you to change them as you need.

  • Note that this operation is a one way ticket, you can't go back!

https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#npm-run-eject

Post a Comment for "How To Change The Default Configuration Files Used In Bootstrapping Of Reactjs Through Npm"