@expo/webpack-config
Version:
A Webpack configuration used to bundle Expo websites with Expo CLI.
14 lines (13 loc) • 419 B
TypeScript
import { Configuration } from 'webpack';
/**
* 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: Configuration): Configuration;