Move browsers to cross-tool config (#3644)

This commit is contained in:
Andrey Sitnik
2018-01-10 02:39:13 +10:00
committed by Joe Haddad
parent 1f18ab7879
commit 0a331710aa
3 changed files with 7 additions and 12 deletions

View File

@@ -43,6 +43,13 @@ module.exports = function(
eject: 'react-scripts eject',
};
appPackage.browserslist = [
'>1%',
'last 4 versions',
'Firefox ESR',
'not ie < 9',
];
fs.writeFileSync(
path.join(appPath, 'package.json'),
JSON.stringify(appPackage, null, 2)