-
Notifications
You must be signed in to change notification settings - Fork 698
Description
Reproduction link or steps
For some reason, pnpm i hangs in stackblitz, please download the project and run it locally
- Run
pnpm i - Run
pnpm build - Observe that you get error log and the remaining build hangs
thread 'tokio-runtime-worker' panicked at crates\rolldown_plugin_import_glob\src\utils.rs:316:7:
Invalid glob pattern: @/assets/**/*.png
What is expected?
The build should be successful, the build/glob works if vite experimental native plugin is not enabled.
What is actually happening?
rolldown_plugin_import_glob is giving an error with invalid import glob. I'm not actually sure if this is an issue with rolldown-vite, as I'm using that with nuxt, but the error points to source code within the rolldown plugin, so I'll open the issue here.
Background context: I'm currently trying to migrate my whole nuxt app to rolldown vite! Everything is going well until I enable the native plugins, and this error pops up. If native plugin is disabled, app builds successfully.
System Info
System:
OS: Windows 11 10.0.26100
CPU: (16) x64 AMD Ryzen 7 7730U with Radeon Graphics
Memory: 5.04 GB / 38.83 GB
Binaries:
Node: 24.1.0 - C:\Program Files\nodejs\node.EXE
npm: 11.3.0 - C:\Program Files\nodejs\npm.CMD
pnpm: 10.2.0 - ~\AppData\Local\pnpm\pnpm.EXE
bun: 1.2.15 - ~\.bun\bin\bun.EXE
Browsers:
Edge: Chromium (135.0.3179.85)
Internet Explorer: 11.0.26100.1882Any additional comments?
No response
Reactions are currently unavailable