-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
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
preserveModulesRoot of vite configuration file is invalid in windows #6509
Comments
This seems to be an upstream issue. |
+1, i have same problem。 after debugging, I found that it is caused by the following code at 'rollup/src/utils/options/normalizeOutputOptions.ts'
but, at ''src/chunk.ts" 中
currentPath not resolve, but preserveModulesRoot had resolve, so in windows platform,currentPath.startsWith(preserveModulesRoot) always be false。 |
This is due to |
This issue is fixed in rollup 2.77.3 |
Describe the bug
preserveModulesRoot of vite configuration file is invalid in windows
in windows (The src directory should not exist in the es directory)
in macos
Reproduction
https://github.com/ckpack/v-ui
System Info
Used Package Manager
pnpm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: