webpack - added missing chunkName parameter

This commit is contained in:
use-strict
2015-10-21 16:47:40 +03:00
parent 9e7d7fadf4
commit a30171906e

View File

@@ -28,7 +28,7 @@ declare namespace __WebpackModuleApi {
*
* This creates a chunk. The chunk can be named. If a chunk with this name already exists, the dependencies are merged into that chunk and that chunk is used.
*/
ensure: (paths: string[], callback: (require: <T>(path: string) => T) => void) => void;
ensure: (paths: string[], callback: (require: <T>(path: string) => T) => void, chunkName?: string) => void;
context: (path: string, deep?: boolean, filter?: RegExp) => RequireContext;
/**
* Returns the module id of a dependency. The call is sync. No request to the server is fired. The compiler ensures that the dependency is available.
@@ -100,4 +100,4 @@ declare var __non_webpack_require__: any;
/**
* Equals the config option debug
*/
declare var DEBUG: boolean;
declare var DEBUG: boolean;