Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function getConfig(env: Pick): ExpoConfig {
if (env.config) {
return env.config;
}
const locations = env.locations || getPaths(env.projectRoot);
// Fill all config values with PWA defaults
return getConfigForPWA(env.projectRoot, locations.absolute, {
templateIcon: locations.template.get('icon.png'),
});
}