diff --git a/webpack/webpack.d.ts b/webpack/webpack.d.ts index 9e0ae9e7f..5bf5050b8 100644 --- a/webpack/webpack.d.ts +++ b/webpack/webpack.d.ts @@ -8,25 +8,56 @@ declare module "webpack" { interface Configuration { context?: string; entry?: string|string[]|Entry; + /** Choose a developer tool to enhance debugging. */ devtool?: string; + /** Options affecting the output. */ output?: Output; + /** Options affecting the normal modules (NormalModuleFactory) */ module?: Module; + /** Options affecting the resolving of modules. */ resolve?: Resolve; + /** Like resolve but for loaders. */ resolveLoader?: ResolveLoader; + /** + * Specify dependencies that shouldn’t be resolved by webpack, but should become dependencies of the resulting bundle. + * The kind of the dependency depends on output.libraryTarget. + */ externals?: ExternalsElement|ExternalsElement[]; + /** + *