webpack-browser-plugin icon indicating copy to clipboard operation
webpack-browser-plugin copied to clipboard

`publicPath` option should be an override of the base webpack configuration

Open EvHaus opened this issue 8 years ago • 1 comments

Forcing the server to always open to the publicPath isn't always what I want. In my case, I want my webpack bundle served from http://localhost/build, but run the server from http://localhost. I have webpack configured with a publicPath: '/build/ but want, webpack-browser-plugin to open the server page to /.

Can you make the options.publicPath object in webpack-browser-plugin take priority over the webpack publicPath configuration so I can override it (similar to how openOptions works)?

I am currently using 1.0.12 to achieve what I need.

EvHaus avatar Dec 19 '16 22:12 EvHaus

Exactly what I want.

blogrocks avatar Dec 24 '16 10:12 blogrocks