Closed haydnhkim closed 4 months ago
Open the branch in Web Editor • VS Code • Insiders
Open Preview
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
tsup | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Feb 3, 2024 7:54am |
@sxzz Could you please review this PR?
Thank you for your review!
:tada: This PR is included in version 8.0.2 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
If it is mjs, it is not included in the swcTarget even if I set it as an ES5 target. I think the reason for the exclusion of mjs is that if the browser supports import, it is guaranteed to run ES6 or later code. However, if you use a process like the one below, you'll run into problems.
In addition to this issue, I think it's also a problem that tsup's target is set to ES5 and it doesn't transpile as expected. So I've included MJS as well to solve this problem.
closes #1080