Skip to content

Commit 0ad930e

Browse files
sebastiandedeynegaearon
authored andcommitted
Typo fix in webpack.config.dev.js comments (#777)
* Typo fix in webpack.config.dev.js comments * Typo fix in webpack.config.prod.js comments
1 parent 590334e commit 0ad930e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/react-scripts/config/webpack.config.dev.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ var publicPath = '/';
2727
// as %PUBLIC_URL% in `index.html` and `process.env.PUBLIC_URL` in JavaScript.
2828
// Omit trailing shlash as %PUBLIC_PATH%/xyz looks better than %PUBLIC_PATH%xyz.
2929
var publicUrl = '';
30-
// Get enrivonment variables to inject into our app.
30+
// Get environment variables to inject into our app.
3131
var env = getClientEnvironment(publicUrl);
3232

3333
// This is the development configuration.

packages/react-scripts/config/webpack.config.prod.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ var publicPath = ensureSlash(homepagePathname, true);
4444
// as %PUBLIC_URL% in `index.html` and `process.env.PUBLIC_URL` in JavaScript.
4545
// Omit trailing shlash as %PUBLIC_PATH%/xyz looks better than %PUBLIC_PATH%xyz.
4646
var publicUrl = ensureSlash(homepagePathname, false);
47-
// Get enrivonment variables to inject into our app.
47+
// Get environment variables to inject into our app.
4848
var env = getClientEnvironment(publicUrl);
4949

5050
// Assert this just to be safe.

0 commit comments

Comments
 (0)