Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOT missing from scripts/css injection for same directory files. Creating problem with github.io pages deployement. #141

Closed
rohitchaubey09 opened this issue Jul 23, 2016 · 2 comments

Comments

@rohitchaubey09
Copy link

currently it's like this
<script type="text/javascript" src="/main.d76da2e415c2ec281286.js"></script>

should be like this
<script type="text/javascript" src="./main.d76da2e415c2ec281286.js"></script>

is there a way to change this configuration?

@gaearon
Copy link
Contributor

gaearon commented Jul 23, 2016

Yes, this is on the roadmap. Please see #21, this issue is a duplicate of that one.

It’s not as easy as changing / to ./ because that would break apps using HTML5 history APIs. So we need to think more about it (but will find a solution).

@gaearon gaearon closed this as completed Jul 23, 2016
@gaearon
Copy link
Contributor

gaearon commented Jul 27, 2016

The new 0.2.0 alpha allows for deployment to GH Pages and similar environments by setting homepage variable in package.json. Here's how to try it: #190

@lock lock bot locked and limited conversation to collaborators Jan 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants