Version
System:
OS: Linux 6.1 Ubuntu 20.04.6 LTS (Focal Fossa)
CPU: (4) x64 AMD EPYC
Memory: 6.56 GB / 8.01 GB
Container: Yes
Shell: 5.0.17 - /bin/bash
npmPackages:
@rslib/core: ^0.2.2 => 0.2.2
Details
I think dts files should be ignored by default when building a bundle library? Although this can be achieved by configuring entry as src/**/!(*.d.ts). If don't config this, dts file will be transformed to an empty js file.
Reproduce link
https://codesandbox.io/p/github/wood3n/rslib-test/master?embed=1&file=%2Frslib.config.ts
Reproduce Steps
run pnpm run build