-
Notifications
You must be signed in to change notification settings - Fork 14
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
Using Webpack to reduce our extension size #66
Conversation
Because of the issues with the source maps using Webpack during debugging we will only use Webpack when packaging (pre-publishing) the extension prior to publishing to the marketplace. Webpack will clear out the 'out' folder prior to packaging the javascript. |
7a52006
to
601725c
Compare
Wow, this is awesome! My only concern is I don't know how to use Webpack but this will finally force me to learn more about it 😄 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is way better now and will install a lot quicker I'm sure. Thank you so much for contributing these changes!
Instead of including node_modules/ with our extension (upwards of 3300 files) in this PR I use webpack to reduce that to 15 files. Not to mention it reduces our size by an awesome 91%!
Without webpack:
With webpack:
Files in VSIX: