📅  最后修改于: 2022-03-11 15:02:49.737000             🧑  作者: Mango
process.env.NODE_ENV gives you either "development" or "production" or "test"
When you run npm start it is equal to develpment
When you run npm run build it is equal to production
When you run npm test it is equal to test