Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

webpack-merge

Package Overview
Dependencies
Maintainers
1
Versions
91
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webpack-merge - npm Package Compare versions

Comparing version 0.12.0 to 0.13.0

11

CHANGELOG.md

@@ -0,5 +1,10 @@

0.13.0 / 2016-05-24
===================
* Bug fix: Allow `merge.smart` to merge configuration if `include` is defined. Thanks to @blackrabbit99. #20.
0.12.0 / 2016-04-19
===================
* Feature: Support `include/exclude` at `smart.merge` for `loader` definition too. Thanks to @Whoaa512. #16.
* Feature: Support `include/exclude` at `merge.smart` for `loader` definition too. Thanks to @Whoaa512. #16.

@@ -9,3 +14,3 @@ 0.11.0 / 2016-04-18

* Feature: Support `include/exclude` at `smart.merge` when its set only in a parent. #15.
* Feature: Support `include/exclude` at `merge.smart` when its set only in a parent. #15.

@@ -15,3 +20,3 @@ 0.10.0 / 2016-04-10

* Feature: Support `include/exclude` at `smart.merge`. Thanks to @siready. #14.
* Feature: Support `include/exclude` at `merge.smart`. Thanks to @siready. #14.

@@ -18,0 +23,0 @@ 0.9.0 / 2016-04-08

@@ -5,3 +5,3 @@ {

"author": "Juho Vepsalainen <bebraw@gmail.com>",
"version": "0.12.0",
"version": "0.13.0",
"scripts": {

@@ -8,0 +8,0 @@ "build": "babel src -d lib",

@@ -222,2 +222,3 @@ [![build status](https://secure.travis-ci.org/survivejs/webpack-merge.png)](http://travis-ci.org/survivejs/webpack-merge)

* [C.J. Winslow](https://github.com/Whoaa512) - Make `merge.smart` `include/exclude` to work correctly with `loader`.
* [Artem Zakharchenko](https://github.com/blackrabbit99) - Fix `merge.smart` duplication so that if `include` exists, it will merge.

@@ -224,0 +225,0 @@ ## License

@@ -291,2 +291,23 @@ /* eslint-env mocha */

it('should override loaders with props include ' + loadersKey, function () {
const a = {};
a[loadersKey] = [{
test: /\.js$/,
loaders: ['a'],
include: './path'
}];
const b = {};
b[loadersKey] = [{
test: /\.js$/,
loaders: ['a', 'b']
}];
const result = {};
result[loadersKey] = [{
test: /\.js$/,
loaders: ['a', 'b'],
include: './path'
}];
assert.deepEqual(merge(a, b), result);
});
it('should override query options for the same loader with ' + loadersKey, function () {

@@ -293,0 +314,0 @@ const a = {};

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc