1 | import webpack = require('webpack');
|
2 |
|
3 | export interface Bundle {
|
4 | id: string;
|
5 | name: string | null;
|
6 | file: string;
|
7 | publicPath: string;
|
8 | }
|
9 |
|
10 | export interface Manifest {
|
11 | [moduleId: string]: Bundle[];
|
12 | }
|
13 |
|
14 | export interface ReactLoadablePluginOptions {
|
15 | filename: string;
|
16 | }
|
17 |
|
18 | export class ReactLoadablePlugin extends webpack.Plugin {
|
19 | constructor(opts?: ReactLoadablePluginOptions);
|
20 | }
|
21 |
|
22 | export function getBundles(manifest: Manifest, moduleIds: string[]): Bundle[];
|