Skip to content

Replaced Webpack in favor of Rollup.#4596

Merged
jasonsaayman merged 4 commits intoaxios:masterfrom
DigitalBrainJS:feat/rollup-build
May 3, 2022
Merged

Replaced Webpack in favor of Rollup.#4596
jasonsaayman merged 4 commits intoaxios:masterfrom
DigitalBrainJS:feat/rollup-build

Conversation

@DigitalBrainJS
Copy link
Copy Markdown
Collaborator

@DigitalBrainJS DigitalBrainJS commented Apr 8, 2022

Rollup is better for library bundling. The rollup pipeline generates more compact code. The current minified build loses 2 KB in weight.
It still uses the old Grunt pipeline, but we will be taking small steps.
It is assumed that PR #4594 will be merged since currently client code rely on node.js 'url' module which results in build warnings.

@jasonsaayman
Copy link
Copy Markdown
Member

@DigitalBrainJS can you fix the merge conflcits there then i can add this soon

…lup-build

� Conflicts:
�	dist/axios.js
�	dist/axios.map
�	dist/axios.min.js
�	dist/axios.min.map
�	package-lock.json
@jasonsaayman
Copy link
Copy Markdown
Member

I will add this to the next version

@jasonsaayman jasonsaayman merged commit fe25630 into axios:master May 3, 2022
@jafin
Copy link
Copy Markdown

jafin commented Oct 4, 2022

If Rollup is now the build runner, do you still require https://github.com/axios/axios/blob/v1.x/webpack.config.js to exist in repo?

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.

3 participants