rules_swc
rules_swc copied to clipboard
feat: add emitIsolatedDts support
Add experimental support for the jsc.experimental.emitIsolatedDts feature to output .d.ts instead of .js.
Changes are visible to end-users: no
Test plan
- Covered by existing test cases
- New test cases added
I think we're blocked for now on https://github.com/swc-project/swc/issues/9512 if I'm understanding correctly. The way we invoke the cli using --out-file doesn't work with the swc cli atm.