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

homepage option doesn't affect web_modules paths #448

Closed
danprince opened this issue Jun 9, 2020 · 1 comment · Fixed by #480
Closed

homepage option doesn't affect web_modules paths #448

danprince opened this issue Jun 9, 2020 · 1 comment · Fixed by #480

Comments

@danprince
Copy link
Contributor

I'm trying to deploy a Snowpack project to a platform that hosts all the static content in a directory which means that I can't use absolute paths.

I've tried using the homepage config option (and also tried it as a CLI flag) but after building, references to installed modules are still absolute (e.g /web_modules/xyz).

I was expecting to do something like this: snowpack --homepage /foo and then see all absolute urls of the form /foo/web_modules/xyz.

@FredKSchott
Copy link
Owner

Will be resolved as a part of #441

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

Successfully merging a pull request may close this issue.

2 participants