forked from vitejs/vite
-
-
Notifications
You must be signed in to change notification settings - Fork 16
Closed
Labels
bug: upstreamBug in a dependency of ViteBug in a dependency of Vite
Description
Describe the bug
When using rolldown-vite to build a Vue project and trying to split element-plus into a separate chunk via advancedChunks, the build completes successfully, but the application fails at runtime with the following error:
Uncaught TypeError: Jt is not a constructor

Reproduction
https://stackblitz.com/edit/vitejs-rolldown-vite-b6krhrxs
Steps to reproduce
just run preview
System Info
System:
OS: Windows 11 10.0.26120
CPU: (6) x64 Intel(R) Core(TM) i5-9400F CPU @ 2.90GHz
Memory: 6.15 GB / 15.95 GB
Binaries:
Node: 22.10.0 - D:\program\Node\node.EXE
Yarn: 1.22.22 - D:\program\Node\yarn.CMD
npm: 11.0.0 - D:\program\Node\npm.CMD
pnpm: 10.14.0 - D:\program\Node\pnpm.CMD
Browsers:
Edge: Chromium (138.0.3351.121)
npmPackages:
@vitejs/plugin-vue: ^6.0.1 => 6.0.1
rolldown-vite: 7.1.0
Used Package Manager
npm
Logs
No response
Additional comments
element-plus/element-plus#21680
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs and the Rolldown-related guide.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- 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.
ryzr and alexgonch
Metadata
Metadata
Assignees
Labels
bug: upstreamBug in a dependency of ViteBug in a dependency of Vite