1.0.17 • Published 5 years ago
chenk-easybound v1.0.17
为什么要easybound?
省去每次新创建项目时都要重复编写各种webpack配置loader,plugin。 我想只需要指定入口,就可以输出文件,
- 实现demo
- 编译react
- 编译简易ts
- 编译ng
- 编译node
项目结构:
+src
+projectName
-index.js //入口文件
-index.html //html模板
config.js
在config.js 中要配置项目名称:
module.exports = {
port: 1234,
apps: ['projectName'], //必须配置且与src下的项目名一致
lang: 'js' // 默认js, 目前只支持 js 和 ts
}