@types/webpack
Advanced tools
Comparing version 2.2.9 to 2.2.10
@@ -786,8 +786,26 @@ // Type definitions for webpack 2.2 | ||
class AggressiveMergingPlugin extends Plugin { | ||
constructor(options?: { | ||
minSize?: number; | ||
maxSize?: number; | ||
}); | ||
constructor(options?: AggressiveMergingPlugin.Options); | ||
} | ||
namespace AggressiveMergingPlugin { | ||
interface Options { | ||
/** | ||
* When options.moveToParents is set, moving to an entry chunk is more expensive. | ||
* Defaults to 10, which means moving to an entry chunk is ten times more expensive than moving to a | ||
* normal chunk. | ||
*/ | ||
entryChunkMultiplicator?: number; | ||
/** | ||
* A factor which defines the minimum required size reduction for chunk merging. | ||
* Defaults to 1.5 which means that the total size needs to be reduced by 50% for chunk merging. | ||
*/ | ||
minSizeReduce?: number; | ||
/** | ||
* When set, modules that are not in both merged chunks are moved to all parents of the chunk. | ||
* Defaults to false. | ||
*/ | ||
moveToParents?: boolean; | ||
} | ||
} | ||
class CommonsChunkPlugin extends Plugin { | ||
@@ -794,0 +812,0 @@ constructor(options?: any); |
{ | ||
"name": "@types/webpack", | ||
"version": "2.2.9", | ||
"version": "2.2.10", | ||
"description": "TypeScript definitions for webpack", | ||
@@ -40,4 +40,4 @@ "license": "MIT", | ||
"peerDependencies": {}, | ||
"typesPublisherContentHash": "84f3581f6c8cd20c0435d668491e3953b22fd709268701933968b222f0ae8121", | ||
"typesPublisherContentHash": "1de27dd0a9e5a7b7ba024c0af2b453f2c6b40bee9c51883409eb16a1caa7fad8", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Wed, 08 Mar 2017 04:40:47 GMT | ||
* Last updated: Thu, 09 Mar 2017 00:25:50 GMT | ||
* Dependencies: tapable, uglify-js, node | ||
@@ -14,0 +14,0 @@ * Global values: none |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
47191
1008