Skip to content

Commit

Permalink
Account for browserslist environment variables (#7764)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Felchlin authored and ianschmitz committed Oct 11, 2019
1 parent 9161ba8 commit f06ae8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-dev-utils/browsersHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function shouldSetBrowsers(isInteractive) {
}

function checkBrowsers(dir, isInteractive, retry = true) {
const current = browserslist.findConfig(dir);
const current = browserslist.loadConfig({path: dir});
if (current != null) {
return Promise.resolve(current);
}
Expand Down

0 comments on commit f06ae8b

Please sign in to comment.