Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Import CostNew to Visual Studio Code? Get it now.
Import Cost

Import Cost

hyrious

|
8,754 installs
| (0) | Free
Yet another decoration extension that prints import cost
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

VS Code Import Cost

Install from VS Code Marketplace

This extension is based on @hyrious/import-cost. It should work like wix's extension.

screenshot

Install

Before enabling this package, you should have esbuild installed globally via npm i -g esbuild. Currently this extension requires this package being installed in user system to work.

Known Issues

  • Importing two libraries with a common dependency will show the size of both libraries isolated from each other, even if the common library needs to be imported only once.

License

MIT @ hyrious

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft