UNPKG

466 BTypeScriptView Raw
1/// <reference types="webpack-dev-server" />
2import { Configuration } from 'webpack';
3import { Arguments, DevConfiguration, InputEnvironment } from './types';
4/**
5 * Create the official Webpack config for loading Expo web apps.
6 *
7 * @param env Environment props used to configure features.
8 * @param argv
9 * @category default
10 */
11export default function createWebpackConfigAsync(env?: InputEnvironment, argv?: Arguments): Promise<Configuration | DevConfiguration>;