|
1 | 1 | // @public (undocumented) |
2 | 2 | interface IWebpackResources { |
3 | | - // (undocumented) |
4 | | - webpack: typeof Webpack; |
| 3 | + // (undocumented) |
| 4 | + webpack: typeof Webpack; |
5 | 5 | } |
6 | 6 |
|
7 | 7 | // @public (undocumented) |
8 | 8 | interface IWebpackTaskConfig { |
9 | | - config?: Webpack.Configuration; |
10 | | - configPath: string; |
11 | | - printStats?: boolean; |
12 | | - suppressWarnings?: (string | RegExp)[]; |
13 | | - webpack?: typeof Webpack; |
| 9 | + config?: Webpack.Configuration; |
| 10 | + configPath: string; |
| 11 | + printStats?: boolean; |
| 12 | + suppressWarnings?: (string | RegExp)[]; |
| 13 | + webpack?: typeof Webpack; |
14 | 14 | } |
15 | 15 |
|
16 | 16 | // @public (undocumented) |
17 | | -class WebpackTask<TExtendedConfig = {}> extends GulpTask<IWebpackTaskConfig & TExtendedConfig> { |
18 | | - constructor(extendedName?: string, extendedConfig?: TExtendedConfig); |
19 | | - // (undocumented) |
20 | | - executeTask(gulp: typeof Gulp, completeCallback: (error?: string) => void): void; |
21 | | - // (undocumented) |
22 | | - isEnabled(buildConfig: IBuildConfig): boolean; |
23 | | - // (undocumented) |
24 | | - loadSchema(): Object; |
25 | | - // (undocumented) |
26 | | - readonly resources: IWebpackResources; |
27 | | -} |
| 17 | +declare const webpack: WebpackTask; |
| 18 | + |
| 19 | +// @public (undocumented) |
| 20 | +declare class WebpackTask<TExtendedConfig = {}> extends GulpTask<IWebpackTaskConfig & TExtendedConfig> { |
| 21 | + // (undocumented) |
| 22 | + constructor(extendedName?: string, extendedConfig?: TExtendedConfig); |
| 23 | + // (undocumented) |
| 24 | + executeTask(gulp: typeof Gulp, completeCallback: (error?: string) => void): void; |
| 25 | + // (undocumented) |
| 26 | + isEnabled(buildConfig: IBuildConfig): boolean; |
| 27 | + // (undocumented) |
| 28 | + loadSchema(): Object; |
| 29 | + // (undocumented) |
| 30 | + readonly resources: IWebpackResources; |
| 31 | + } |
| 32 | + |
28 | 33 |
|
29 | | -// WARNING: Unsupported export: webpack |
30 | | -// WARNING: Unsupported export: default |
31 | | -// (No @packagedocumentation comment for this package) |
| 34 | +// (No @packageDocumentation comment for this package) |
0 commit comments