Skip to content
This repository has been archived by the owner on Oct 10, 2022. It is now read-only.

Pass publicPath to Webpack dev server #22

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

meghprkh
Copy link

This allows us to have the dev server running on for a subpath instead of the domain.

For example serving on localhost:8000/example instead of localhost:8000. This makes it run like it would run in the production environment.

This allows us to have the dev server running on for a subpath instead of the domain
@meghprkh
Copy link
Author

Please put this PR on hold. Apparently for me webpack-dev-server is not working with historyApi Fallback when publicPath is given.

Ref webpack/webpack-dev-server#216

@meghprkh
Copy link
Author

Referencing webpack/webpack-dev-server#518 .

Please wait till this gets merged

@olahol
Copy link
Owner

olahol commented Jun 30, 2016

Nice work patching webpack-dev-server 👍, will merge and update the dependencies then

@victorb
Copy link
Contributor

victorb commented Aug 17, 2016

@meghprkh this can also be set via setting the devServer key in webpack.config.js, since #27 has been merged.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants