UNPKG

@expo/webpack-config

Version:

The default Webpack configuration used to build Expo apps targeting the web.

18 lines (17 loc) 601 B
import OriginalInterpolateHtmlPlugin from 'react-dev-utils/InterpolateHtmlPlugin'; import HtmlWebpackPlugin from 'html-webpack-plugin'; import { Environment } from '../types'; /** * * @param message * @internal */ export declare function createNoJSComponent(message: string): string; /** * Add variables to the `index.html`. * * @category plugins */ export default class InterpolateHtmlPlugin extends OriginalInterpolateHtmlPlugin { static fromEnv: (env: Pick<Environment, "mode" | "projectRoot" | "config" | "locations">, HtmlWebpackPlugin: HtmlWebpackPlugin) => InterpolateHtmlPlugin; }