1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
|
Source: node-webpack-merge
Section: javascript
Priority: optional
Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>
Uploaders:
Jonas Smedegaard <dr@jones.dk>,
Build-Depends:
debhelper-compat (= 13),
mocha <!nocheck>,
node-lodash,
node-typescript,
node-types-clone-deep,
Standards-Version: 4.6.1
Homepage: https://github.com/survivejs/webpack-merge
Vcs-Browser: https://salsa.debian.org/js-team/node-webpack-merge
Vcs-Git: https://salsa.debian.org/js-team/node-webpack-merge.git
Rules-Requires-Root: no
Package: node-webpack-merge
Architecture: all
Depends:
${misc:Depends},
node-clone-deep,
Provides: node-wildcard
Multi-Arch: foreign
Description: merge designed for Webpack
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).
|