[Bug]: The CommonJS bundle can not be consumed by import()
in Node.js
#351
Labels
🐞 bug
Something isn't working
import()
in Node.js
#351
Version
System:
OS: macOS 14.6.1
CPU: (16) arm64 Apple M3 Max
Memory: 8.00 GB / 64.00 GB
Shell: 5.9 - /bin/zsh
Browsers:
Chrome: 130.0.6723.71
Safari: 17.6
npmPackages:
@rslib/core: ^0.0.15 => 0.0.15
Details
test.mjs
file to import() the dist bundle:Reproduce link
https://github.com/chenjiahan/rslib-repro-cjs-export
Reproduce Steps
Rslib:
tsup:
The text was updated successfully, but these errors were encountered: