Open clayrisser opened 9 months ago
It would be nice if tsup had an option to automatically create an esm wrapper around the cjs module instead of compiling the esm module.
https://nodejs.org/api/packages.html#approach-1-use-an-es-module-wrapper
This would prevent the Dual CommonJS/ES module packages bug.
https://nodejs.org/api/packages.html#dual-commonjses-module-packages
@egoist any thoughts???
It would be nice if tsup had an option to automatically create an esm wrapper around the cjs module instead of compiling the esm module.
https://nodejs.org/api/packages.html#approach-1-use-an-es-module-wrapper
This would prevent the Dual CommonJS/ES module packages bug.
https://nodejs.org/api/packages.html#dual-commonjses-module-packages
@egoist any thoughts???
Upvote & Fund