Skip to content

Commit

Permalink
impr output strings
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Zhytko committed Jan 16, 2018
1 parent b675e7e commit 3cc04f6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/react-scripts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@karambasecurity/react-scripts",
"version": "1.0.17-kar.11",
"version": "1.0.17-kar.12",
"description": "Configuration and scripts for Create React App.",
"repository": "Pavek/create-react-app",
"license": "MIT",
Expand Down
8 changes: 4 additions & 4 deletions packages/react-scripts/scripts/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ measureFileSizesBeforeBuild(paths.appBuild)
.then(
({ stats, previousFileSizes, warnings }) => {
if (warnings.length) {
console.log(chalk.yellow('[Client] Compiled with warnings.\n'));
console.log(chalk.yellow('[client] Compiled with warnings.\n'));
console.log(warnings.join('\n\n'));
console.log(
'\nSearch for the ' +
Expand All @@ -78,10 +78,10 @@ measureFileSizesBeforeBuild(paths.appBuild)
);
} else {
const { time } = stats.toJson({ timings: true });
console.log(chalk.green('[Client] Compiled successfully after'), chalk.white(time + ' ms'));
console.log(chalk.green('[client] Compiled successfully after'), chalk.white(time + ' ms'));
}

console.log('[Client] File sizes after gzip:');
console.log('[client] File sizes after gzip:');
printFileSizesAfterBuild(
stats,
previousFileSizes,
Expand Down Expand Up @@ -112,7 +112,7 @@ measureFileSizesBeforeBuild(paths.appBuild)

// Create the production build and print the deployment instructions.
function build(previousFileSizes) {
console.log('[Client] Creating an optimized production build...');
console.log('[client] Creating an optimized production build...');

let compiler = webpack(config);
return new Promise((resolve, reject) => {
Expand Down

0 comments on commit 3cc04f6

Please sign in to comment.