UNPKG

@expo/webpack-config

Version:

The default Webpack configuration used to build Expo apps targeting the web.

16 lines (15 loc) 528 B
/** * Given a config option that could evalutate to true, config, or null; return a config. * e.g. * `polyfill: true` returns the `config` * `polyfill: {}` returns `{}` */ export declare function enableWithPropertyOrConfig(prop: any, config: boolean | { [key: string]: any; }, merge?: boolean): any; /** * Used for features that are enabled by default unless specified otherwise. */ export declare function overrideWithPropertyOrConfig(prop: any, config: boolean | { [key: string]: any; }, merge?: boolean): any;