webpack-merge

Open source

Merge designed for Webpack (MIT)

Contribute


Become a financial contributor.

Financial Contributions

Recurring contribution

Backer

Become a backer for $5.00 per month and support us

Starts at$5 USD / month

Recurring contribution

Sponsor

Become a sponsor for $100.00 per month and support us

Starts at$100 USD / month

Custom contribution

Donation

Make a custom one-time or recurring contribution.

Latest activity by


Top financial contributors

webpack-merge is all of us

Our contributors 2

Thank you for supporting webpack-merge.

Chrome's Web ...

$3,000 USD

We hope this sponsorship helps with your work t...

Budget


Transparent and open finances.

$
Today’s balance

--.-- USD

Total raised

$2,700.00 USD

Total disbursed

$2,700.00 USD

Estimated annual budget

--.-- USD

About


webpack-merge provides a merge function that concatenates arrays and merges objects creating a new object. If functions are encountered, it will execute them, run the results through the algorithm, and then wrap the returned values within a function again.

This behavior is particularly useful in configuring webpack although it has uses beyond it. Whenever you need to merge configuration objects, webpack-merge can come in handy.

There's also a webpack specific merge variant known as merge.smart that's able to take webpack specifics into account (i.e., it can flatten loader definitions).

Our team