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

Enable your extension to run on VS Code for the web #601

Merged
merged 5 commits into from
Sep 28, 2021

Conversation

tanhakabir
Copy link
Contributor

Hello @Binaryify 👋

I'm part of the VS Code team and we recently launched VS Code for the web with github.dev! You can read the full guide for extension authors creating and migrating extensions here: Web Extensions

In hopes to help you migrate I helped make the changes necessary to make your extensions work on the web.

The changes I made:

  • Added webpack bundling to bundle your extension into 1 JavaScript file for the web
  • Added the compile scripts for webpack to your package.json
  • Added the necessary dependencies for bundling
  • Added the browser entry point to your package.json to link to the web-friendly compiled extension
  • Remove all extension uses of fs with the VS Code FileSystemProvider
  • Update to latest VS Code API

@tanhakabir
Copy link
Contributor Author

@Binaryify resolved merge conflicts

@Binaryify
Copy link
Owner

oh sorry, I didn't notice this PR before, you did a good job, thanks for what you did, I really appreciate it ~

@Binaryify Binaryify merged commit d452b44 into Binaryify:master Sep 28, 2021
Binaryify added a commit that referenced this pull request Sep 30, 2021
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.

None yet

2 participants