DefinitelyTyped/types/react-dev-utils/InterpolateHtmlPlugin.d.ts
2019-01-28 18:42:18 +05:00

12 lines
376 B
TypeScript

import webpack = require('webpack');
import HtmlWebpackPlugin = require('html-webpack-plugin');
/**
* This Webpack plugin lets us interpolate custom variables into `index.html`.
*/
declare class InterpolateHtmlPlugin extends webpack.Plugin {
constructor(htmlWebpackPlugin: HtmlWebpackPlugin, replacements: { [key: string]: string });
}
export = InterpolateHtmlPlugin;