-
-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Description
Currently dts-bundle-generator always creates a new TypeScript compilation using the provided compiler options.
I'd like to pass a custom ts.Program into generateDtsBundle
Use Case:
I want to create bundled DTS files inside a Rollup/Vite plugin. There I already have access to the ts.Program which is used to generally compile and bundle my library.
I create multiple d.ts for different entry points and this is currently very expensive. Reusing the existing program would help a lot speeding up the compilation.
Metadata
Metadata
Assignees
Labels
No labels