/bin/react-scripts.js
根据参数调用scripts目录下的文件
react-scripts的scripts文件中包含如下几个文件:
init.js : 执行create-react-app命令创建项目时调用 (在 create-react-app - 源码解析中有介绍)
start: 启用
build: 打包
test:
eject:
/bin/react-scripts.js
根据参数调用scripts目录下的文件
react-scripts的scripts文件中包含如下几个文件:
init.js : 执行create-react-app命令创建项目时调用 (在 create-react-app - 源码解析中有介绍)
start: 启用
build: 打包
test:
eject: