v3_lazyRouteDiscovery
does not respect Vite#base
configuration
#10124
Labels
v3_lazyRouteDiscovery
does not respect Vite#base
configuration
#10124
Reproduction
I’ve noticed that in the latest Remix release, v2.13.1,
v3_lazyRouteDiscovery
does not respect Vite’sbase
configuration.After looking into the source code, it appears that while
lazyRouteDiscovery
respects Remix’s basename, however the two configuration options are for different purposes.Ideally, I’d like the
__manifest
file to be prefixed with Vite’sbase
configuration (aligning it with all other JS being served).It's my understanding that all assets are served under this base (similar to how webpack publicPath) if provided; however, __manifest is not, which is causing an error.
An asset that works (respecting Vite's base)
v3_lazyRouteDiscovery
not respecting thebase
, thus 404'ingReproduction:
https://github.com/hanford/remix-fogOfWar-base
System Info
Used Package Manager
pnpm
Expected Behavior
__manifest
should be servered frombase + __manifest
Actual Behavior
__manifest
doesn't respect Vite's base, which leads to a 404 breaking the future flagThe text was updated successfully, but these errors were encountered: