@expo/webpack-config
Version:
The default Webpack configuration used to build Expo apps targeting the web.
14 lines (13 loc) • 429 B
TypeScript
import { AnyConfiguration } from '../types';
/**
* Returns `true` if the Expo web environment variable enabled.
* @internal
*/
export declare function isDebugMode(): boolean;
/**
* Add the minifier and other optimizations for production builds.
*
* @param webpackConfig Existing Webpack config to modify.
* @category addons
*/
export default function withOptimizations(webpackConfig: AnyConfiguration): AnyConfiguration;