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

Chore: Bundle VS Code extension with webpack #2954

Merged
merged 3 commits into from
Sep 10, 2019

Conversation

antross
Copy link
Member

@antross antross commented Sep 9, 2019

Reduces extension size and unblocks sharing utilities
with other parts of webhint.


Fix #2803

Pull request checklist

Make sure you:

For non-trivial changes, please make sure you also:

  • Added/Updated related documentation.
  • Added/Updated related tests.

Short description of the change(s)

Copy link
Member

@molant molant left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one comment.

Should we do something similar to the browser extension where we have a size budget?

@@ -25,12 +28,13 @@ export const installPackages = async (packages: string[], options?: InstallOptio

/**
* Load the provided packages from the specified location.
* Always performs a dynamic load, even if bundled with webpack.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you are missing the why here 🙂

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed I am - good catch!

@antross
Copy link
Member Author

antross commented Sep 9, 2019

Should we do something similar to the browser extension where we have a size budget?

Yes, I'll file an issue to track that.

Reduces extension size and unblocks sharing utilities
with other parts of webhint.

- - - - - - - - - -

Fix webhintio#2803
The implementation is generated by VS Code itself at
runtime.
@antross antross merged commit 7b8d905 into webhintio:master Sep 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bundle the VS Code extension using webpack
3 participants