eggjs / egg

🥚 Born to build better enterprise frameworks and apps with Node.js & Koa
https://eggjs.org
MIT License
18.91k stars 1.82k forks source link

请问egg怎么整webpack-dev-middleware #169

Closed tommy2z closed 7 years ago

tommy2z commented 7 years ago

谢谢!

popomore commented 7 years ago

内部有一个插件还未放出,稍后会开源出来。

实现原理是在 agent worker 启动一个 server 使用 webpack-dev-middleware,然后发消息给 app worker 告知静态文件的 host 和 port,在页面上使用这个地址。

gxcsoccer commented 7 years ago

egg-react

popomore commented 7 years ago

egg-react 还没有这个功能

tommy2z commented 7 years ago

egg-react 这个项目还未放出?

atian25 commented 7 years ago

@geekdada 后续关注下这个, 看看怎么把内网那个版本开源出来

xjchenhao commented 7 years ago

@popomore @atian25 这个插件现在有了吗?

dead-horse commented 7 years ago

ping @geekdada

atian25 commented 7 years ago

@dead-horse 昨天我们 UC 这边有讨论了,这个月他们会出一个插件。 @hubcarl

iyuq commented 7 years ago

我写过一个基于koa2的webpack-koa2-middleware

mmzhi commented 7 years ago

@atian25 说好的插件呢?

hubcarl commented 7 years ago

@mmzhi https://github.com/hubcarl/egg-webpack

hubcarl commented 7 years ago
mmzhi commented 7 years ago

@hubcarl 66666,我参考一下

zwmmm commented 5 years ago

@atian25 插件开源了么?

atian25 commented 5 years ago

上面 easywebpack 那些就可以了