-
-
Notifications
You must be signed in to change notification settings - Fork 98
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
Broken elm-pages build --base
- only changes outputs partially
#404
Comments
elm-pages build --base
only changes outputs partiallyelm-pages build --base
- only changes outputs partially
SSCCE here: https://github.com/georgesboris/elm-pages-basepath-sscce/tree/main Created with:
|
I just ran into this, too, on Elm Pages v3.0.8. I can't seem to work around it, either. I tried copying also, the "No route found for" message makes it look like the routing is not ignoring the base path (not sure whether that's a problem in the routing or the error message). |
Also seeing this - first sign is getting a "page not found" for the root path. And aside: I just ❤️ that this issue number is... 404! |
I also see this problem with elm-pages 3.0.20. This problem makes it impossible to deploy site on GitHub Pages with base path. |
I'm trying to build an elm-pages website that will be completely hosted inside a subpath of another site.
When using
elm-pages dev --base=/blog
everything seems to be working but when usingelm-pages build --base=/blog
I get this output:This is problematic since some files are expected to be at the root of the website, not the specified path. However, I may be using elm-pages for another subpath (for any reason) or some other framework might want to use
/style.css
, etc. I would expect the--base
option to change everything like this:Important this is not only problematic for conflict purposes but it is in fact broken since some of the links are expected to be at
/paper/*
even though they are still created at the root (e.g.elm.12345678.js
,style.css
, etc)The text was updated successfully, but these errors were encountered: