forked from vitejs/vite
-
-
Notifications
You must be signed in to change notification settings - Fork 19
Closed
Labels
bug: upstreamBug in a dependency of ViteBug in a dependency of Vite
Description
Describe the bug
In build with vite@8.0.0-beta.9 I get a runtime of error of an import statements that tries to import to symbols for the same name
Reproduction
https://github.com/oriSomething/vite-8-duplicated-imports
Steps to reproduce
- Clone/create this reproduction
pnpm installpnpm run build- Check the output files in
dist/assets/:grep "as import_lodash.*as import_lodash" dist/assets/*.js
System Info
System:
OS: macOS 26.2
CPU: (16) arm64 Apple M3 Max
Memory: 18.37 GB / 64.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 24.10.0
npm: 11.6.1
pnpm: 10.28.1
npmPackages:
vite: ^8.0.0-beta.9 => 8.0.0-beta.10Used Package Manager
pnpm
Logs
No response
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- The provided reproduction is a minimal reproducible example of the bug.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bug: upstreamBug in a dependency of ViteBug in a dependency of Vite