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

Disabled WebPack auto importing plugin to avoid unnecessary imports; #4641

Closed

Conversation

DigitalBrainJS
Copy link
Collaborator

@DigitalBrainJS DigitalBrainJS commented Apr 26, 2022

It seems the new WebPack uses some magic with auto-importing of node js builtins, so this PR turns it off.
Currently, the build consists unnecessary Buffer module and is-array util.
This PR is not needed if we are going to move to Rollup by merging #4596.
Axios size (full/minified): was 132KB/43KB, now 73KB/21KB
Closes #4629

@jasonsaayman
Copy link
Member

Thanks, i am closing cause i fixed this one already but did not push yet

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.

axios 0.27.1 build even larger than 0.27.0
2 participants