-
-
Notifications
You must be signed in to change notification settings - Fork 763
Open
Labels
pending triageThe issue/PR is currently untouched.The issue/PR is currently untouched.
Description
System Info
I was able to reproduce this bug with https://playground.rspack.rs
System Info
System:
OS: Linux 6.18 cpe:/o:nixos:nixos:26.05 26.05 (Yarara)
CPU: (20) x64 13th Gen Intel(R) Core(TM) i5-13600KF
Memory: 50.84 GB / 62.63 GB
Container: Yes
Shell: 5.9 - /run/current-system/sw/bin/zsh
Binaries:
Node: 25.6.0 - /etc/profiles/per-user/meyer/bin/node
npm: 11.8.0 - /etc/profiles/per-user/meyer/bin/npm
pnpm: 10.28.2 - /etc/profiles/per-user/meyer/bin/pnpm
bun: 1.3.8 - /etc/profiles/per-user/meyer/bin/bun
Deno: 2.6.6 - /etc/profiles/per-user/meyer/bin/deno
Browsers:
Brave Browser: 144.1.86.148
Chromium: 144.0.7559.132
Firefox: 147.0.3
Firefox Developer Edition: 147.0.3
npmPackages:
@rspack/core: ^1.7.5 => 1.7.5
Details
From what i can tell, support was added for this with #12317, which first released with 1.6.7, however this feature does not work, both locally (rspack 1.7.5) and via the online playground (rspack 1.7.3).
Reproduce link
Reproduce Steps
- use
import.meta.resolve(/*...*/) - notice rspack compiles it to
({}).resolve(/*...*/)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
pending triageThe issue/PR is currently untouched.The issue/PR is currently untouched.