Skip to content

Commit c2de6e1

Browse files
committed
3.4.0 Build Script
1 parent c33a434 commit c2de6e1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/react-scripts/scripts/build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ checkBrowsers(paths.appPath, isInteractive)
110110
console.log();
111111

112112
const appPackage = require(paths.appPackageJson);
113-
const publicUrl = paths.publicUrl;
113+
const publicUrl = paths.publicUrlOrPath;
114114
const publicPath = config.output.publicPath;
115115
const buildFolder = path.relative(process.cwd(), paths.appBuild);
116116
printHostingInstructions(

packages/react-scripts/scripts/wpbuild.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ checkBrowsers(paths.appPath, isInteractive)
142142
console.log();
143143

144144
const appPackage = require(paths.appPackageJson);
145-
const publicUrl = paths.publicUrl;
145+
const publicUrl = paths.publicUrlOrPath;
146146
const publicPath = config.output.publicPath;
147147
const buildFolder = path.relative(process.cwd(), paths.appBuild);
148148
printHostingInstructions(

0 commit comments

Comments
 (0)