Isomorphic tools for multiple dev servers?
arasmussen opened this issue · comments
Andrew Rasmussen commented
In development mode I have multiple webpack dev servers:
- landing.config.js (mysite.localhost:8007)
- widget.config.js (widget.mysite.localhost:8007)
- subdomain.config.js (*.mysite.localhost:8007)
Is there some way I can combine the webpack-assets across all three instead of having one for each? And then create a server for all assets somehow?
Andrew Rasmussen commented
I actually realize that I only need webpack-isomorphic-tools in prod and I combine everything into a single webpack config file for prod, so I ended up just disabling webpack-isomorphic-tools in dev mode. I only really need SSO in prod anyway.
This also makes me wonder why I need multiple files in dev but only one in prod, something to look into later. :P Thanks anyhow!