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

webview-codicons: Move codicons dependency from devDependencies into dependencies #1005

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

phil294
Copy link

@phil294 phil294 commented Apr 15, 2024

This is the core information I needed from this sample folder: Where do I put the codicons / how are they required? Do I really need to ship the full .ttf file in my .vsix bundle, even though it is clearly already present in all VSCode installations?? The answer to this question is YES, and it would be clearer to see if the dependency were listed in dependencies, which is where they also really should be.

Apart from that, the sample doesn't compile properly when you try to make a demo bundle out of it: Change publisher to something else, run npx vsce package and inspect the resulting vsix file: It's missing the node_modules folder, which further confused me a lot. Not sure why or how to include it. There's also no .vscodeignore file present, because of which unnecessary stuff like the .ts files are also shipped along.

Sure, this sample isn't a full guideline, but it sure would be great if one could actually create a best-practice demo vsix here.

I'll also create an issue out of the above text in a second. Edit: No, I won't, there already is one: #692. This PR seems to fix it:

Fixes #692

Best regards

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.

Packaging webview-codicons-sample doesn't package the codicons
1 participant