Uncaught ReferenceError: process is not defined #12978
Unanswered
knightswatch3
asked this question in
Q&A
Replies: 1 comment
-
Because you have library/code which use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I do have this piece of code confirming the value of process.env.NODE_ENV :
new webpack.DefinePlugin({ "process.env": { NODE_ENV: process.env.NODE_ENV ? "'" process.env.NODE_ENV "'" : null, } })
But I receive this following error in the browser.
Uncaught ReferenceError: process is not defined
I tried configuring it via dotenv but that's not helping me.
Beta Was this translation helpful? Give feedback.
All reactions