Skip to content

Enable react snippets on VS Code for web #198

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

Merged
merged 1 commit into from
Dec 20, 2021

Conversation

tanhakabir
Copy link
Contributor

Hey @dsznajder 👋

I'm part of the VS Code team and we recently launched VS Code for the web with vscode.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. Here's the full guide on web extension authoring

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

You can test my changes with these three ways.

Fixes #196

@tanhakabir tanhakabir changed the title add bundling to enable on web Nov 29, 2021
@ice-chillios ice-chillios merged commit 2a6a1ff into r5n-labs:master Dec 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants