Replies: 1 comment
-
Can you provide more information? Can you share a repository with a minimum code reproducing the error? If you are using webpack 5.0, it does not shim NodeJS globals, therefore process is not defined (you cannot use process.env.NODE_ENV in the code that is bundled). |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everybody,
I am facing a problem with some files from import map where them check for existing variable "process.env.NODE_ENV" availability but I am receiving "process is not defined".
I have been trying to inject process/web in webpack.config of Root Wrapper but no success.
How can I fix that? Someone have passed to this error?
Beta Was this translation helpful? Give feedback.
All reactions