UNPKG

@expo/webpack-config

Version:

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

8 lines (7 loc) 481 B
import InterpolateHtmlPlugin from 'react-dev-utils/InterpolateHtmlPlugin'; import HtmlWebpackPlugin from 'html-webpack-plugin'; import { Environment } from '../types'; export declare function createNoJSComponent(message: string): string; export default class ExpoInterpolateHtmlPlugin extends InterpolateHtmlPlugin { static fromEnv: (env: Pick<Environment, "mode" | "projectRoot" | "config" | "locations">, HtmlWebpackPlugin: HtmlWebpackPlugin) => ExpoInterpolateHtmlPlugin; }