Open Collective
Open Collective
Loading

webpack-merge

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

Latest activity by


Be the first one to contribute!
Recurring contribution
Sponsor

Become a sponsor for $100.00 per month and support us

Starts at
$100 USD / month

Latest activity by


Be the first one to contribute!
Custom contribution
Donation
Make a custom one-time or recurring contribution.

Latest activity by


Top financial contributors

2
StackAid

$2 USD since Nov 2022

webpack-merge is all of us

Our contributors 3

Thank you for supporting webpack-merge.

Chrome's Web ...

$3,000 USD

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

StackAid

$2 USD

We're donating to you on behalf of your subscri...

Budget


Transparent and open finances.

Credit from StackAid to webpack-merge

+$1.00USD
Completed
Added funds #664343

Credit from StackAid to webpack-merge

+$1.00USD
Completed
Contribution #590003
-$2,700.00 USD
Paid
Invoice #21607
$
Today’s balance

$1.47 USD

Total raised

$2,701.47 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