base option dont work in build in vite.config.js, if use in commend line like '--base=./' Hydration completed but contains mismatch #3984
Labels
need more info
Further information is requested
Describe the bug
just like title decribe,
in vit.config.js i just set ssr option
noExternal: ['packages']
, base option does not work in product. In builded html file the js assets path is '/assets/jsfile.js' which should be/docs/assets/jsfile.js
. And if i use --base='/docs/' the res path will add base url but when i put it on my server it dont work and showsHydration completed but contains mismatch
in my consoleReproduction
idk, it huge project, monorepo
Expected behavior
like dev when i put it in nginx
System Info
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: