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
17ee1ed4
Unverified
Commit
17ee1ed4
authored
3 years ago
by
Ran Cohen
Committed by
GitHub
3 years ago
Browse files
Options
Download
Email Patches
Plain Diff
fix process is not defined
parent
fd8c5f7b
github/fork/rannn505/patch-1
1 merge request
!12121
fix process is not defined
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
packages/react-scripts/config/env.js
+1
-0
packages/react-scripts/config/env.js
with
1 addition
and
0 deletions
+1
-0
packages/react-scripts/config/env.js
+
1
-
0
View file @
17ee1ed4
...
...
@@ -100,6 +100,7 @@ function getClientEnvironment(publicUrl) {
);
// Stringify all values so we can feed into webpack DefinePlugin
const
stringified
=
{
'
process
'
:
{},
'
process.env
'
:
Object
.
keys
(
raw
).
reduce
((
env
,
key
)
=>
{
env
[
key
]
=
JSON
.
stringify
(
raw
[
key
]);
return
env
;
...
...
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