Closed ArrayKnight closed 1 month ago
I don't know the ramifications of this, but currently the dist/index.js
file and dist/vanilla.js
file are exporting the same things (with dist/index.js
additional ones from same chunk file):
dist/vanilla.js
dist/index.js
I tried doing an experiment with running three separate tsup configs one for each of our intended outputs, but was unable to get it working (or more accurately, matching the current output of the dist
to a degree). If we wanted to hyper optimize the bundle output we may need to slightly restructure the package structure a smidge.
Swapped Rollup out for TSup
Notes:
dist
. But they appear to be valid sharing of code / types between the exports without mixing anything into vanilla that we don't want