node --- package.json 文件配置

164 阅读1分钟

设置环境

一般项目分本地,开发环境及生产环境

{
   "script": "NODE_ENV='production' node index.js "
}