unplugin / unplugin-vue-components

📲 On-demand components auto importing for Vue
https://www.npmjs.com/package/unplugin-vue-components
MIT License
3.77k stars 349 forks source link

feat!: move to ESM first with dual esm/cjs package exports #720

Closed userquin closed 10 months ago

userquin commented 10 months ago

Description

This PR includes:

Linked Issues

Additional context

Current types (check https://arethetypeswrong.github.io/?p=unplugin-vue-components%400.25.2 or https://publint.dev/unplugin-vue-components@0.25.2):

imagen

With this PR:

imagen

imagen

stackblitz[bot] commented 10 months ago

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

userquin commented 10 months ago

rspack and esbuild tested in my local, check https://github.com/unplugin/unplugin-auto-import/pull/453#issuecomment-1837183563 and https://github.com/unplugin/unplugin-auto-import/pull/453#issuecomment-1837179525 respectively