We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5184d0 commit a363d8dCopy full SHA for a363d8d
packages/react-scripts/scripts/build.js
@@ -42,7 +42,7 @@ if (!checkRequiredFiles([paths.appHtml, paths.appIndexJs])) {
42
// First, read the current file sizes in build directory.
43
// This lets us display how much they changed later.
44
recursive(paths.appBuild, (err, fileNames) => {
45
- var previousSizeMap = fileSizeReporter.measureFileSizesBeforeBuild(paths, fileNames);
+ var previousSizeMap = fileSizeReporter.measureFileSizesBeforeBuild(paths.appBuild, fileNames);
46
47
// Remove all content but keep the directory so that
48
// if you're in it, you don't end up in Trash
0 commit comments