构建文件

TypeScript Node 构建

npm run tsc

TypeScript 前端工程构建

npm run build

项目打包部署

  1. 先运行 npm run tsc 和 npm run build 构建 TypeScript Node 代码和 TypeScript 前端代码
  2. 项目代码和构建代码一起打包代码
  3. 应用部署后,通过 npm start 启动应用

Author: sky
Reprint policy: All articles in this blog are used except for special statements CC BY 4.0 reprint polocy. If reproduced, please indicate source sky !
 Previous
项目开发 项目开发
2019-10-19 sky
Current 
构建发布 构建发布
构建文件TypeScript Node 构建npm run tscTypeScript 前端工程构建npm run build项目打包部署先运行 npm run tsc 和 npm run build 构建 TypeScript Node 代码和 TypeScript 前端代码项目代码和构建代...
2019-10-19 sky