egoist / tsup

The simplest and fastest way to bundle your TypeScript libraries.
https://tsup.egoist.dev
MIT License
9.01k stars 217 forks source link

`cjsInterop` doesn't add a newline after the appended line, causing the source mapping line to be on the same line #1022

Closed segevfiner closed 11 months ago

segevfiner commented 11 months ago

e.g.

module.exports = exports.default//# sourceMappingURL=index.cjs.map

Instead of:

module.exports = exports.default
//# sourceMappingURL=index.cjs.map

Upvote & Fund

Fund with Polar

github-actions[bot] commented 10 months ago

:tada: This issue has been resolved in version 7.3.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: