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

Feature: support webpack v5 stats #4

Closed
davidhouweling opened this issue Nov 26, 2020 · 1 comment · Fixed by #14
Closed

Feature: support webpack v5 stats #4

davidhouweling opened this issue Nov 26, 2020 · 1 comment · Fixed by #14
Labels
enhancement New feature or request

Comments

@davidhouweling
Copy link
Contributor

At present webpack-bundle-delta only supports webpack v4. As webpack v5 has been our for a few months now we need to look at adding support for it.

Based on initial investigations the following likely cause of action needs to be taken:

  • Use package alias remapping to rename the present webpack to webpack 4 as well as @types/webpack
  • Webpack 5 does comes with types, however it doesn't have stats types, so we need to create a PR for webpack itself to output the stats defintions, making sure the stats are aligned
  • Consumed the new version of webpack which would contain the stats
  • Update WBD code to logically work out what to do given each version that is passed to it
@davidhouweling davidhouweling added the enhancement New feature or request label Nov 28, 2020
@davidhouweling
Copy link
Contributor Author

davidhouweling commented Nov 30, 2020

Webpack PR to restore ability to get types for webpack 5: webpack/webpack#12228

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant