Skip to content

bundle extension output to reduce shipped file count (~10.6k files) #4351

Description

@alirobe

Environment (please complete the following information):

  • OS (e.g., Windows 10): Windows 11
  • Extension version (e.g., 1.2.3): (hover "Microsoft Edge Tools for VS Code" in Extensions panel)

Describe the bug:

Extension ships ~10,600 files. Mostly unbundled node_modules. Bad for NTFS, slow to install, hurts VS Code startup. VS Code says bundle your extension.

Repro steps:

  1. Go to %USERPROFILE%\.vscode\extensions\ms-edgedevtools.vscode-edge-devtools-*
  2. Run (Get-ChildItem -Recurse | Measure-Object).Count
  3. See ~10,600 files

Expected behavior:

Use webpack or esbuild. Ship handful of files. Pylance and ESLint do it. Under 200 files each.

Additional context:

No other context.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions