ajvincent / composite-collection

Composing Maps, WeakMaps, Sets and WeakSets into compiled classes
Mozilla Public License 2.0
1 stars 0 forks source link

Rollup type definition files for package.json's types field #125

Open ajvincent opened 1 year ago

ajvincent commented 1 year ago

This would reduce package size by a lot. Who wants to carry the full .mts source files around and recompile them every time?

rollup-plugin-dts might be a good solution.

ajvincent commented 1 year ago

https://github.com/Swatinem/rollup-plugin-dts/tree/master/tests/testcases/using-mts-cts-files suggests it should work.