Lessen significance of browserslist

Adjust the default browsers to be a single list and remove it from the build output; it only affects CSS now
This commit is contained in:
Joe Haddad
2018-09-20 16:48:45 -04:00
parent a1a08dba98
commit e2dc3fc5a4
3 changed files with 8 additions and 48 deletions

View File

@@ -41,7 +41,6 @@ const formatWebpackMessages = require('react-dev-utils/formatWebpackMessages');
const printHostingInstructions = require('react-dev-utils/printHostingInstructions');
const FileSizeReporter = require('react-dev-utils/FileSizeReporter');
const printBuildError = require('react-dev-utils/printBuildError');
const { printBrowsers } = require('react-dev-utils/browsersHelper');
const measureFileSizesBeforeBuild =
FileSizeReporter.measureFileSizesBeforeBuild;
@@ -119,7 +118,6 @@ checkBrowsers(paths.appPath)
buildFolder,
useYarn
);
printBrowsers(paths.appPath);
},
err => {
console.log(chalk.red('Failed to compile.\n'));