easywebpack feature list
supported
no label version , both webpack2 and webpack3 support
- [x] Webpack2 (easywebpack 1.x.x+)
- [x] Webpack3 (easywebpack 3.x.x+)
- [x] Hot-Reload , Eslint, Babel
- [x] Extract Css Hot-Reload
- [x] Webpack dll
- [x] Inline style, Extract css
- [x] React css module (easywebpack 3.x.x+)
- [x] css, sass, scss, less, stylus
- [x] javascript/css/image compress
- [x] Vue Webpack Build Solution easywebpack-vue
- [x] React Webpack Build Solution easywebpack-react
- [x] Weex Webpack Build Solution easywebpack-weex
- [x] Vue client render and Server Render boilerplate egg-vue-webpack-boilerplate
- [x] React client render and Server Render boilerplate egg-react-webpack-boilerplate
- [x] HTML Webpack Build Solution easywebpack-weex
- [x] Weex Web render and Weex Render boilerplate easywebpack-weex-boilerplate
- [x] Webpack Build Tool webpack-tool
- [x] Boilerplate init Tool And Build Tool easywebpack-cli
- [x] Vue Server Side Render Egg Plugin egg-view-vue and egg-view-vue-ssr
- [x] React Server Side Render Egg Plugin egg-view-react and egg-view-react-ssr
- [x] npm install as needed https://github.com/webpack-contrib/npm-install-webpack-plugin
- [x] use and upgrade webpack3 guild doc
- [x] performace build npm install check
plan support
- [x] typescript
- [ ] image sprites
- [x] egg + element full project
- [ ] egg + ant design full project
文档:http://hubcarl.github.io/easywebpack 博客:https://zhuanlan.zhihu.com/p/28322014
svg spirit icon能支持么?
@agileago 有需求就可以考虑支持,不过没这么快,更欢迎pr
typescript支持多久后发布
@Kirk-Wang 预计1月10号左右,有可能更早。支持后,还涉及相关的工程骨架实现,要点时间,不会太久
@Kirk-Wang typescript 支持例子参考 egg-vue-webpack-boilerplate 的 typescript分支 和 typescript-egg 分支。typescript 只实现了前端代码的typescript 实现;typescript-egg 支持 node 和前端同时typescript
koa+webpack 我是使用koa-webpack-dev-middleware 和 koa-webpack-hot-middleware 查了很多资料都显示要将koa的实例 开在node的子线程worker中 不知道能否有例子说明一下 看了网上很多都是只有部分代码 无上感谢
这个之前写过,egg-webpack 其实是在 egg 的agent进程里面启动的,这个通过cluster或者childprocess 解决(这个egg内置了多进程机制),另外还有个关键问题就是开发期间 worker进程需要从 agent进程里面的webpack内存读取数据实现。
egg+webpack:http://hubcarl.github.io/easywebpack/vue/dev/
关于koa的其实就是要自己写个koa的多进程通信,然后 在 子进程里面 起 webpack koa服务,然后就是 主进程与 webpack koa 子进程 webpack 内存读取 通信实现。 我这边暂时只能提供思路,没时间搞这个,后续可能考虑折腾一下。
babel upgrade to 7.x