简体   繁体   中英

Caveats of running eject on create-react-app?

I currently started a new project using create-react-app, but I'd like to add some minor custom configurations to my webpack config. (automatically address.scss files as.module.scss, etc)

As far as I learned, the only way to do that it running eject, which would allow me to configure babel\webpack myself.

I was wondering, what caveats could that have? basically, why WOULDN'T I wan't to run eject?

Thanks!

DO it , and see it for yourself, create new project in another directory and experiment with it; eject make things look a little more complicated, but it's OK, its like taking a look inside the hardware of your computer.

However if your project directory is under version control, you can reverse the eject too

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM