Skip to content

Use EsBuild instead of rollup for vscode #6676

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

Conversation

timotheeguerin
Copy link
Member

@timotheeguerin timotheeguerin commented Mar 25, 2025

fix #6370

Similar change done for prettier extension which is the only other thing still relying on rollup #6678

Still testing, but this simplify a lot and should get rid of all rollup deps having type issues and is much faster

Other change:

  • make sure test files are not included in bundle

@timotheeguerin timotheeguerin changed the title Seems to work Use EsBuild instead of rollup for vscode Mar 25, 2025
Copy link
Contributor

github-actions bot commented Mar 25, 2025

All changed packages have been documented.

  • @typespec/internal-build-utils
  • typespec-vscode
Show changes

typespec-vscode - internal ✏️

Change build system to use esbuild

@typespec/internal-build-utils - fix ✏️

Fix third party resolution getting duplicate entries

@azure-sdk
Copy link
Collaborator

azure-sdk commented Mar 25, 2025

You can try these changes here

🛝 Playground 🌐 Website 🛝 VSCode Extension

@RodgeFu
Copy link
Contributor

RodgeFu commented Apr 8, 2025

had a manual test pass and seems everything works. will you merge it? (I don't have permission to approve PR...)

@timotheeguerin
Copy link
Member Author

@RodgeFu did you loose permission to approve?

@timotheeguerin timotheeguerin added this pull request to the merge queue Apr 8, 2025
github-merge-queue bot pushed a commit that referenced this pull request Apr 8, 2025
fix #6370 

Similar change done for prettier extension which is the only other thing
still relying on rollup #6678

Still testing, but this simplify a lot and should get rid of all rollup
deps having type issues and is much faster


Other change:
- make sure test files are not included in bundle
@timotheeguerin timotheeguerin removed this pull request from the merge queue due to a manual request Apr 8, 2025
@timotheeguerin timotheeguerin added this pull request to the merge queue Apr 8, 2025
Merged via the queue into microsoft:main with commit 6e96d99 Apr 8, 2025
22 checks passed
@timotheeguerin timotheeguerin deleted the vscode-use-esbuild-instead-of-rollup branch April 8, 2025 18:12
@RodgeFu
Copy link
Contributor

RodgeFu commented Apr 9, 2025

@RodgeFu did you loose permission to approve?

Actually, I never had... Allen tried to add me to the contributor group before but failed because that group is full...

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.

Investigate if vscode extension can stop use esbuild or vite instead of rollup
4 participants