timocov / dts-bundle-generator

A tool to generate a single bundle of dts with types tree-shaking
MIT License
745 stars 38 forks source link

Do not compile bundled output together as they might have incompatible global declarations #296

Closed timocov closed 7 months ago

timocov commented 7 months ago

If you're running the tool for several entry points that are e.g. have umdModuleName option set to the same value, the validation will fail. The easiest option would be not to compile all output bundles together during the validation.