rocicorp / fractional-indexing

Fractional Indexing in JavaScript
https://npmjs.com/fractional-indexing
Creative Commons Zero v1.0 Universal
305 stars 23 forks source link

Use tsc to compile a cjs module and export that, rather than esm. #2

Closed aboodman closed 3 years ago

aboodman commented 3 years ago

It's easy enough to generate both, but after reading https://redfin.engineering/node-modules-at-war-why-commonjs-and-es-modules-cant-get-along-9617135eeca1, it just doesn't seem that valuable and creates extra crap to test and maintain, as well as potential problems.