kyranet / canvas-constructor

An ES6 utility for canvas with built-in functions and chained methods.
https://canvasconstructor.js.org
MIT License
116 stars 23 forks source link

build: switch to `tsup` #644

Closed kyranet closed 5 months ago

kyranet commented 5 months ago

This change makes the library's types behave more consistently by splitting CJS and ESM types so the underlying library they use is also imported with the correct module resolution mode.

This PR also defines the sideEffects array correctly.