Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
async function loadBrowserslist(config): Promise {
let browserslistConfig = await config.getConfig(
['browserslist', '.browserslistrc'],
{
parse: false
}
);
if (browserslistConfig) {
return browserslist.parseConfig(browserslistConfig);
}
}