ts热编译项目

项目文件结构

project
│  gulpfile.js
│  package-lock.json
│  package.json
│  tsconfig.json

├─dist
│      bundle.js
│      index.html

├─node_modules


└─src
      greet.ts
      index.html
      main.ts
        

npm下包

gulpfile.js

tsconfig.json

此时,在项目更目录使用gulp命令即可执行热编译。

Last updated

Was this helpful?