-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
Setting vite.root
breaks build
#33
Comments
The fix is ready. No tests yet, but working on it. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When setting
vite.root
to./src
build is broken.Here is the reproduction repo: https://github.com/Hagith/vituum-path-resolution/
main
branch includes basic, working setupvite-root-src
branch shows the problem (diff from master)In my opinion it is mostly caused by
defaultInput
paths prefixed with./src/pages
. All those paths should includepages.root
andpages.dir
, which are expected to be relative tovite.root
.Maybe I'm missing something in my config. If you think it's not a bug, please let me know.
I'm working on a potential fix.
The text was updated successfully, but these errors were encountered: