mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
23 lines
478 B
TypeScript
23 lines
478 B
TypeScript
import webpack = require('webpack');
|
|
|
|
export interface Bundle {
|
|
id: string;
|
|
name: string | null;
|
|
file: string;
|
|
publicPath: string;
|
|
}
|
|
|
|
export interface Manifest {
|
|
[moduleId: string]: Bundle[];
|
|
}
|
|
|
|
export interface ReactLoadablePluginOptions {
|
|
filename: string;
|
|
}
|
|
|
|
export class ReactLoadablePlugin extends webpack.Plugin {
|
|
constructor(opts?: ReactLoadablePluginOptions);
|
|
}
|
|
|
|
export function getBundles(manifest: Manifest, moduleIds: string[]): Bundle[];
|