Skip to content
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(vscode): use unjs/unbuild for bundling #4998

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

KermanX
Copy link
Collaborator

@KermanX KermanX commented Nov 8, 2024

Use https://github.com/unjs/unbuild to bundle the VSCode extension, also as a preparation for #4994.

Notes:

  • To dev the extension: run pnpm dev:vue, the command will exit after the stub files generated (no need to watch file changes), then F5.
  • To build the extension: like before.
  • Other packages except the VSCode extension remain unchanged.
  • Using sonda for package size reporting.

TODOs:

  • Should the tasks defined in .vscode/tasks.json and .vscode/launch.json be restored?
  • What is node_modules/vue-typescript-plugin-pack/ used for?

Copy link

pkg-pr-new bot commented Nov 8, 2024

Open in Stackblitz

vue-component-meta

pnpm add https://pkg.pr.new/vuejs/language-tools/vue-component-meta@4998

vue-component-type-helpers

pnpm add https://pkg.pr.new/vuejs/language-tools/vue-component-type-helpers@4998

@vue/language-plugin-pug

pnpm add https://pkg.pr.new/vuejs/language-tools/@vue/language-plugin-pug@4998

@vue/language-core

pnpm add https://pkg.pr.new/vuejs/language-tools/@vue/language-core@4998

@vue/language-server

pnpm add https://pkg.pr.new/vuejs/language-tools/@vue/language-server@4998

@vue/language-service

pnpm add https://pkg.pr.new/vuejs/language-tools/@vue/language-service@4998

vue-tsc

pnpm add https://pkg.pr.new/vuejs/language-tools/vue-tsc@4998

@vue/typescript-plugin

pnpm add https://pkg.pr.new/vuejs/language-tools/@vue/typescript-plugin@4998

commit: 13daf63

@KermanX KermanX changed the title chore: use unjs/unbuild chore(vscode): use unjs/unbuild for bundling Nov 8, 2024
@sxzz
Copy link
Member

sxzz commented Nov 27, 2024

Hey, what do you think about switching to tsdown, powered by Rolldown, for faster speed?

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.

2 participants