catamphetamine / webpack-isomorphic-tools

Server-side rendering for your Webpack-built applications (e.g. React)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ability to specify publicPath at runtime for server-side?

biddlem opened this issue · comments

Q: Is it possible to specify the publicPath at runtime when handling server-side requests?

I am able to achieve it by specifying "webpack_public_path" in my application's entry point file, but that only works on for the client-side requests.

Why aren't you using Webpack's output.publicPath, it works on both client and servere.