source: trip-planner-front/node_modules/license-webpack-plugin/dist/WebpackCompilation.d.ts@ 1ad8e64

Last change on this file since 1ad8e64 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 1.3 KB
Line 
1import { WebpackChunk } from './WebpackChunk';
2import { Source } from 'webpack-sources';
3import { ChunkGraph } from './ChunkGraph';
4import { WebpackCompiler } from './WebpackCompiler';
5import { WebpackStats } from './WebpackStats';
6export interface WebpackCompilation {
7 hash: string;
8 chunks: IterableIterator<WebpackChunk>;
9 assets: {
10 [key: string]: Source;
11 };
12 errors: any[];
13 warnings: any[];
14 getPath(filename: string, data: {
15 hash?: any;
16 chunk?: any;
17 filename?: string;
18 basename?: string;
19 query?: any;
20 }): string;
21 hooks: {
22 optimizeChunkAssets: {
23 tap: (pluginName: string, handler: (chunks: IterableIterator<WebpackChunk>) => void) => void;
24 };
25 processAssets: {
26 tap: (options: {
27 name: string;
28 stage: number;
29 }, handler: () => void) => void;
30 };
31 };
32 plugin?: (phase: string, callback: Function) => void;
33 chunkGraph?: ChunkGraph;
34 compiler: WebpackCompiler;
35 getStats: () => {
36 toJson: (options?: WebpackStatsOptions) => WebpackStats;
37 };
38}
39export interface WebpackStatsOptions {
40 all?: boolean;
41 chunks?: boolean;
42 chunkModules?: boolean;
43 nestedModules?: boolean;
44 dependentModules?: boolean;
45 cachedModules?: boolean;
46}
Note: See TracBrowser for help on using the repository browser.