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

VSCode extension: Use rollup for dev build too #2730

Merged
merged 10 commits into from
Dec 14, 2023

Conversation

timotheeguerin
Copy link
Member

@timotheeguerin timotheeguerin commented Dec 4, 2023

Problem is vscode still doesn't allow loading es modules so we had all those hacks to make it work but loading es modules from comon js is always problematic. Using rollup to generate a commonjs output solve the problem and we are using that for the published version just not in dev. Issue with this new approach is rush watch won't build the extension but that's also not something you often need to touch.

Copy link
Contributor

github-actions bot commented Dec 4, 2023

Changes in this PR will be published to the following url to try(check status of TypeSpec Pull Request Try It pipeline for publish status):
Playground: https://cadlplayground.z22.web.core.windows.net/prs/2730/

Website: https://tspwebsitepr.z22.web.core.windows.net/prs/2730/

@azure-sdk
Copy link
Collaborator

You can try these changes at https://cadlplayground.z22.web.core.windows.net/prs/2730/

Check the website changes at https://tspwebsitepr.z22.web.core.windows.net/prs/2730/

@timotheeguerin timotheeguerin merged commit 216d28e into microsoft:main Dec 14, 2023
12 checks passed
@timotheeguerin timotheeguerin deleted the extensions-cleanup branch December 14, 2023 18:04
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.

3 participants