Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure WebPack to create a single file bundle for improved boot time #178

Merged
merged 7 commits into from
Oct 6, 2020

Conversation

warrenbuckley
Copy link
Owner

I have followed the guide over on at VSCode docs, where it prefers one lager file to load than many smaller files
https://code.visualstudio.com/api/working-with-extensions/bundling-extension

Size of .visx extension package

  • Old approach with node_modules folder: 1.14MB
  • New bundled WebPack single file: 334KB

Fixes #172

@warrenbuckley warrenbuckley added the minor Used to identify a PR will make a minor version change label Oct 6, 2020
@warrenbuckley warrenbuckley merged commit 66c34fe into develop Oct 6, 2020
@warrenbuckley warrenbuckley deleted the feature/bundle-improve-boot-time branch October 6, 2020 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest-accepted minor Used to identify a PR will make a minor version change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve boot time of extension with suggested bundling docs
1 participant