You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, swc-loader does not ship emitIsolatedDts but swc-cli do. We need to do some processing in Rspack's built-in swc-loader to emit the result of transform during build process.
And isolated declarations produce the same result with tsc's bundleless dts, we can also support using isolated emit dts for type bundle with api-extractor.
What problem does this feature solve?
Since SWC already supports Isolated Declarations in TS 5.5, Rslib can provide option to enable it to speed up dts generation.
swc-project/swc#9086
What does the proposed API look like?
tsconfig.json#isolatedDeclarations
and enable it by default.dts. isolated
The text was updated successfully, but these errors were encountered: