Skip to content

Commit 3cc04f6

Browse files
author
Pavel Zhytko
committed
impr output strings
1 parent b675e7e commit 3cc04f6

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

packages/react-scripts/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@karambasecurity/react-scripts",
3-
"version": "1.0.17-kar.11",
3+
"version": "1.0.17-kar.12",
44
"description": "Configuration and scripts for Create React App.",
55
"repository": "Pavek/create-react-app",
66
"license": "MIT",

packages/react-scripts/scripts/build.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ measureFileSizesBeforeBuild(paths.appBuild)
6464
.then(
6565
({ stats, previousFileSizes, warnings }) => {
6666
if (warnings.length) {
67-
console.log(chalk.yellow('[Client] Compiled with warnings.\n'));
67+
console.log(chalk.yellow('[client] Compiled with warnings.\n'));
6868
console.log(warnings.join('\n\n'));
6969
console.log(
7070
'\nSearch for the ' +
@@ -78,10 +78,10 @@ measureFileSizesBeforeBuild(paths.appBuild)
7878
);
7979
} else {
8080
const { time } = stats.toJson({ timings: true });
81-
console.log(chalk.green('[Client] Compiled successfully after'), chalk.white(time + ' ms'));
81+
console.log(chalk.green('[client] Compiled successfully after'), chalk.white(time + ' ms'));
8282
}
8383

84-
console.log('[Client] File sizes after gzip:');
84+
console.log('[client] File sizes after gzip:');
8585
printFileSizesAfterBuild(
8686
stats,
8787
previousFileSizes,
@@ -112,7 +112,7 @@ measureFileSizesBeforeBuild(paths.appBuild)
112112

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

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

0 commit comments

Comments
 (0)