Skip to content

Commit 5c3ab84

Browse files
MunGellgaearon
authored andcommitted
Correct a comment mistype in webpack production config (facebook#855)
1 parent 15c20f1 commit 5c3ab84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: packages/react-scripts/config/webpack.config.prod.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ var homepagePathname = homepagePath ? url.parse(homepagePath).pathname : '/';
4242
var publicPath = ensureSlash(homepagePathname, true);
4343
// `publicUrl` is just like `publicPath`, but we will provide it to our app
4444
// as %PUBLIC_URL% in `index.html` and `process.env.PUBLIC_URL` in JavaScript.
45-
// Omit trailing shlash as %PUBLIC_PATH%/xyz looks better than %PUBLIC_PATH%xyz.
45+
// Omit trailing slash as %PUBLIC_PATH%/xyz looks better than %PUBLIC_PATH%xyz.
4646
var publicUrl = ensureSlash(homepagePathname, false);
4747
// Get environment variables to inject into our app.
4848
var env = getClientEnvironment(publicUrl);

0 commit comments

Comments
 (0)