where is create-react-app webpack config and files?

后端 未结 10 1593
长发绾君心
长发绾君心 2020-11-28 18:33

I create a ReactJS project with the create-react-app package and that worked well, but I cannot find webpack files and configurations.

How does react-cr

10条回答
  •  没有蜡笔的小新
    2020-11-28 18:50

    Assuming you don't want to eject and you just want to look at the config you will find them in /node_modules/react-scripts/config

    webpack.config.dev.js. //used by `npm start`
    webpack.config.prod.js //used by `npm run build`
    

提交回复
热议问题