System Info
System:
OS: macOS 26.2
CPU: (11) arm64 Apple M3 Pro
Memory: 105.50 MB / 36.00 GB
Shell: 5.9 - /bin/zsh
Browsers:
Chrome: 143.0.7499.147
Safari: 26.2
npmPackages:
"@rspack/cli": "^1.7.1",
"@rspack/core": "^1.7.1",
"@rspack/plugin-react-refresh": "^1.6.0"
Details
How to enable importMetaDirnameAndFilename in @rspack/core, as the variable exists in @rspack/bindings but cannot be configured in @rspack/core.
Reproduce link
No response
Reproduce Steps
- Install rspack.
- The environment in the output field does not support configuring the importMetaDirnameAndFilename property.
