Skip to content

Conversation

@Groupguanfang
Copy link
Contributor

@Groupguanfang Groupguanfang commented Apr 16, 2025

Description

replace tsup to tsdown

Currently it have some problem: since tsdown uses isolated declaration, each default export must explicitly specify the type; otherwise, an error will occur. However, I personally think it's not a big deal. At least the development speed has increased significantly⚡️

Set the "type" of the playground to "module" to adapt to the new version of Vite

The new version of Vite no longer supports CommonJS, and an error occurs when opening the playground. Setting type: module can solve this problem.

@bolt-new-by-stackblitz
Copy link

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@socket-security
Copy link

socket-security bot commented Apr 16, 2025

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License

View full report

@Groupguanfang
Copy link
Contributor Author

I upgraded the dependencies, the CI should be back to normal now. Take a look 👀

@Groupguanfang
Copy link
Contributor Author

I found that unplugin has an UnpluginInstance 🤔 It might be better to use this directly.

@sxzz sxzz merged commit d10733d into unplugin:main May 21, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants