使用 webpack 4 + typescript 4 搭建前端环境

运行

npm start

编译

# 使用webpack打包
npm run build
# 使用 tsc 打包
npm run build:lib