@expo/webpack-config
Version:
The default Webpack configuration used to build Expo apps targeting the web.
12 lines (11 loc) • 548 B
TypeScript
import { AnyConfiguration, Arguments, InputEnvironment } from '../types';
/**
* Wrap your existing webpack config with support for Unimodules.
* ex: Storybook `({ config }) => withUnimodules(config)`
*
* @param webpackConfig Optional existing Webpack config to modify.
* @param env Optional Environment options for configuring what features the Webpack config supports.
* @param argv
* @category addons
*/
export default function withUnimodules(webpackConfig?: AnyConfiguration, env?: InputEnvironment, argv?: Arguments): AnyConfiguration;