Commit Graph

3 Commits

Author SHA1 Message Date
Robin Malfait 5bfa3daac5 Improve TypeScript 4.7 NodeNext compatibility (#1721)
* update script to mass-update import/export statements

* rewrite imports on .d.ts files

* add idempotency comment
2022-07-27 14:25:59 +02:00
Robin Malfait 6fd5f58c2c ensure standalone imports and exports are rewritten as well (#1458) 2022-05-16 15:49:50 +02:00
Robin Malfait 8e79f1cb27 Fix Tree-shaking support (#1247)
* improve Tree Shaking in ESM

Instead of bundling everything into a single ESM file, we generate every
single file as ESM. This is what we did in 1.4.x as well.

I would expect if your library had a single ESM file and you only used 1
function that the application you use it in correctly does the
tree-shakign for you. Apparantly a lot of applications are not properly
setup for this, so let's create multiple files instead.

* update changelog
2022-03-17 17:23:29 +01:00