@expo/webpack-config
Version:
A Webpack configuration used to bundle Expo websites with Expo CLI.
11 lines (10 loc) • 384 B
TypeScript
import { Configuration } from 'webpack';
import { Arguments, InputEnvironment } from './types';
/**
* Create the official Webpack config for loading Expo web apps.
*
* @param env Environment props used to configure features.
* @param argv
* @category default
*/
export default function createWebpackConfigAsync(env?: InputEnvironment, argv?: Arguments): Promise<Configuration>;