TS 开发工厂
用于开发测试 typescript 代码片段或工具插件,可预览并编译成多种格式嵌入不支持ts的项目
Develop and test your
typescript
codes or tools. Preview and build to commonjs and esnext.
Project setup
node version >= 16.x.x
npm install
Compiles and hot-reloads for node
npm run start
Compiles and hot-reloads for browser
npm run browser
Compiles and minifies for commonjs
npm run build
Compiles and minifies for esnext
npm run build:esnext
标签:npm,TypeScript,run,构建,打包,esnext,Compiles,build
From: https://www.cnblogs.com/qiang-ling/p/17814629.html