Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Meta
create-react-app
Commits
5c3ab84f
Commit
5c3ab84f
authored
8 years ago
by
Shmavon Gazanchyan
Committed by
Dan Abramov
8 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Correct a comment mistype in webpack production config (#855)
parent
15c20f17
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
packages/react-scripts/config/webpack.config.prod.js
+1
-1
packages/react-scripts/config/webpack.config.prod.js
with
1 addition
and
1 deletion
+1
-1
packages/react-scripts/config/webpack.config.prod.js
+
1
-
1
View file @
5c3ab84f
...
...
@@ -42,7 +42,7 @@ var homepagePathname = homepagePath ? url.parse(homepagePath).pathname : '/';
var
publicPath
=
ensureSlash
(
homepagePathname
,
true
);
// `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.
// Omit trailing s
h
lash 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
);
// Get environment variables to inject into our app.
var
env
=
getClientEnvironment
(
publicUrl
);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets