webview-codicons: Move codicons dependency from devDependencies into dependencies #1005
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 independencies
, 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 thenode_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