webpack-merge
- Version 6.0.1
- Published
- 49.5 kB
- 3 dependencies
- MIT license
Install
npm i webpack-merge
yarn add webpack-merge
pnpm add webpack-merge
Overview
Variant of merge that's useful for webpack configuration
Index
Functions
function customizeArray
customizeArray: (rules: { [s: string]: CustomizeRule | CustomizeRuleString;}) => (a: any, b: any, key: Key) => any;
function customizeObject
customizeObject: (rules: { [s: string]: CustomizeRule | CustomizeRuleString;}) => (a: any, b: any, key: Key) => any;
function merge
merge: <Configuration extends object>( firstConfiguration: Configuration | Configuration[], ...configurations: Configuration[]) => Configuration;
function mergeWithCustomize
mergeWithCustomize: <Configuration extends object>( options: ICustomizeOptions) => ( firstConfiguration: Configuration | Configuration[], ...configurations: Configuration[]) => Configuration;
function mergeWithRules
mergeWithRules: ( rules: Rules) => (firstConfiguration: object | object[], ...configurations: object[]) => object;
function unique
unique: ( key: string, uniques: string[], getter: (a: object) => string) => (a: [], b: [], k: string) => false | any[];
Enums
Package Files (3)
Dependencies (3)
Dev Dependencies (8)
Peer Dependencies (0)
No peer dependencies.
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/webpack-merge
.
- Markdown[![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/webpack-merge)
- HTML<a href="https://www.jsdocs.io/package/webpack-merge"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 1366 ms. - Missing or incorrect documentation? Open an issue for this package.