You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
489 B

import HtmlWebpackPlugin from 'html-webpack-plugin';
import OriginalInterpolateHtmlPlugin from 'react-dev-utils/InterpolateHtmlPlugin';
import { Environment } from '../types';
/**
* Add variables to the `index.html`.
*
* @category plugins
*/
export default class InterpolateHtmlPlugin extends OriginalInterpolateHtmlPlugin {
static fromEnv: (env: Pick<Environment, 'mode' | 'config' | 'locations' | 'projectRoot'>, htmlWebpackPlugin: HtmlWebpackPlugin) => InterpolateHtmlPlugin;
}