Skip to content

Remove Unnecessary Files from VSIX Build #57

@SakshayMahna

Description

@SakshayMahna

Goal

When building the LaunchMap VSCode extension (.vsix file), some non-essential files are currently being packaged, making the file unnecessarily large.

In particular, Playwright screenshots and some test/development dependencies are not required for the final extension.

The goal is to update the VSIX packaging configuration so these files are excluded from the build.

Acceptance Criteria

  • Identify and exclude:
    • Playwright snapshot/screenshot directories
    • Any test files not needed at runtime
    • Dev-only dependencies (if possible)
    • Update .vscodeignore (or relevant packaging config) to omit them from the VSIX file.
    • Verify:
      • The built .vsix installs and runs normally.
      • File size is reduced.

Sub-Tasks

  • Check current .vsix contents using:
vsce package
unzip -l launchmap-<version>.vsix
  • Update .vscodeignore to remove unnecessary files.
  • Rebuild .vsix and confirm excluded files are gone.
  • Document the change in CONTRIBUTING.md so future contributors know what is excluded.

Notes for Contributors

  • VSCode extensions use .vscodeignore to define which files to exclude.
  • Reference: VSCode Extension Packaging
  • Keep in mind: Do not exclude any files needed at runtime for the extension to function.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions