You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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
.The text was updated successfully, but these errors were encountered: