-
-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Description
Reproduction
https://github.com/uihp/mcve-rollup-import-attributes
Describe the bug
In the minimal repro, rollup-plugin-import-css
works fine when using @rollup/plugin-babel
but not when using rollup-plugin-esbuild
, the return value of getModuleInfo
in the plugin doesn't contain import attributes
I don't know if there are differences between babel and esbuild in affecting rollup moduleInfo
System Info
## Binaries:
- Node: 20.15.1 - C:\Program Files\nodejs\node.EXE
- Yarn: 1.22.22 - ~\AppData\Roaming\npm\yarn.CMD
- npm: 10.7.0 - C:\Program Files\nodejs\npm.CMD
## Browsers:
- Edge: Chromium (127.0.2651.74), ChromiumDev (129.0.2792.10)
- Internet Explorer: 11.0.22621.3527
## npmPackages:
- esbuild: ^0.24.0 => 0.24.0
- rollup-plugin-esbuild: ^6.1.1 => 6.1.1
Metadata
Metadata
Assignees
Labels
No labels