-
-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: use unbuild
to bundle plugins
#8139
Conversation
unbuild
to bundle plugins
@antfu Was it ok to merge this? (in case, didn't notice the auto-merge) |
I guess it should be fine :) |
Also partially reviewed this yesterday and it looks good as well. |
I believe this broke I'm using vite.config.js inside a project where package.json is using
Previous working → New non-working:
|
@bompus Thanks for the report. |
Changes
unbuild
to bundle and generate DTS (due to the complexity, leave the bundle of core untouched)exports
field (probably breaking)plugin-vue-jsx
andplugin-legacy
to TypeScriptbuild-vite
,build-plugin-*
scripts are removed.pnpm run build
uses pnpm's recursive runs to build them together.patchEsbuildDist
is removed in favor ofpatchCJS
dev
script to run all watch build at once.