Commit 5c3ab84f authored by Shmavon Gazanchyan's avatar Shmavon Gazanchyan Committed by Dan Abramov
Browse files

Correct a comment mistype in webpack production config (#855)

parent 15c20f17
Showing with 1 addition and 1 deletion
+1 -1
...@@ -42,7 +42,7 @@ var homepagePathname = homepagePath ? url.parse(homepagePath).pathname : '/'; ...@@ -42,7 +42,7 @@ var homepagePathname = homepagePath ? url.parse(homepagePath).pathname : '/';
var publicPath = ensureSlash(homepagePathname, true); var publicPath = ensureSlash(homepagePathname, true);
// `publicUrl` is just like `publicPath`, but we will provide it to our app // `publicUrl` is just like `publicPath`, but we will provide it to our app
// as %PUBLIC_URL% in `index.html` and `process.env.PUBLIC_URL` in JavaScript. // as %PUBLIC_URL% in `index.html` and `process.env.PUBLIC_URL` in JavaScript.
// Omit trailing shlash as %PUBLIC_PATH%/xyz looks better than %PUBLIC_PATH%xyz. // Omit trailing slash as %PUBLIC_PATH%/xyz looks better than %PUBLIC_PATH%xyz.
var publicUrl = ensureSlash(homepagePathname, false); var publicUrl = ensureSlash(homepagePathname, false);
// Get environment variables to inject into our app. // Get environment variables to inject into our app.
var env = getClientEnvironment(publicUrl); var env = getClientEnvironment(publicUrl);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment