Skip to content

Modify vscodeignore file to restore clean 'vsce package' builds - #14

Open
Arfeen-Yousuf wants to merge 1 commit into
Dart-Code:masterfrom
Arfeen-Yousuf:fix/update-vscodeignore
Open

Modify vscodeignore file to restore clean 'vsce package' builds#14
Arfeen-Yousuf wants to merge 1 commit into
Dart-Code:masterfrom
Arfeen-Yousuf:fix/update-vscodeignore

Conversation

@Arfeen-Yousuf

Copy link
Copy Markdown

Description
When attempting to build the Flutter extension .vsix package locally using vsce package, the process fails with an Extension entrypoint(s) missing error.

Root Cause
The existing .vscodeignore file was configured to ignore the out/ directory. Because package.json points to ./out/src/extension.js as the main entry point, vsce strips the required compiled files during packaging, causing the build to fail.

Click to expand error log
 ERROR  Extension entrypoint(s) missing. Make sure these files exist and aren't ignored by '.vscodeignore':
  extension/out/src/extension.js

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.

1 participant