Modify vscodeignore file to restore clean 'vsce package' builds - #14
Closed
Arfeen-Yousuf wants to merge 1 commit into
Closed
Modify vscodeignore file to restore clean 'vsce package' builds#14Arfeen-Yousuf wants to merge 1 commit into
Arfeen-Yousuf wants to merge 1 commit into
Conversation
DanTup
added a commit
that referenced
this pull request
Aug 24, 2026
out/src is ignored because for the Dart extension it's where the unbundled code goes. To keep things more consistent between the two, also build this into out/dist (eventually if we add more code here, we would compile to out/src and bundle to out/dist the same). This prevents errors when running `vsce package` on the latest version, which errors if the entrypoint is ignored. See #14
Member
|
@Arfeen-Yousuf thanks for the PR! Oddly this seemed to build for me on an older version of My intention is to try and keep some of these files/config more consistent with the Dart extension, so rather than this change, I have updated to build the extension into Thanks! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
When attempting to build the Flutter extension
.vsixpackage locally usingvsce package, the process fails with anExtension entrypoint(s) missingerror.Root Cause
The existing
.vscodeignorefile was configured to ignore theout/directory. Becausepackage.jsonpoints to./out/src/extension.jsas the main entry point,vscestrips the required compiled files during packaging, causing the build to fail.Click to expand error log