@expo/webpack-config
Version:
The default Webpack configuration used to build Expo apps targeting the web.
11 lines (10 loc) • 537 B
TypeScript
import { BundleAnalyzerPlugin } from 'webpack-bundle-analyzer';
import { ExpoConfig } from '@expo/config';
import { AnyConfiguration, Environment } from '../types';
export declare const DEFAULT_REPORTING_OPTIONS: BundleAnalyzerPlugin.Options & {
verbose?: boolean;
path: string;
};
export declare function throwDeprecatedConfig({ web }: ExpoConfig): void;
export declare function maybeWarnAboutRebuilds(env: Environment): void;
export default function withReporting(config: AnyConfiguration, env: Environment): AnyConfiguration;