jaredpalmer / tsdx

Zero-config CLI for TypeScript package development
https://tsdx.io
MIT License
11.2k stars 505 forks source link

How to export custom d.ts files? #1107

Closed PedroLucasSilva closed 2 years ago

PedroLucasSilva commented 2 years ago

Does anyone know how I can export the d.ts file in build with the Material UI theme adaptations so that I don't need to duplicate these statements across every consumer in my library?

image

agilgur5 commented 2 years ago

Duplicate of #113 . There is currently no feature for this, but you can use rollup-plugin-copy or something similar to put this file into your dist folder.