You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Certain modules we rely on, such as React, have checks for NODE_ENV to change behavior between development and production environments. In practice, when React is in development mode, it tends to perform quite a bit worse than when it runs in production mode.
We should add logic to copy the shell env var NODE_ENV in to webpack, and ensure that when npm run web-release is called, NODE_ENV is set to production
The text was updated successfully, but these errors were encountered:
Certain modules we rely on, such as React, have checks for
NODE_ENV
to change behavior between development and production environments. In practice, when React is in development mode, it tends to perform quite a bit worse than when it runs in production mode.We should add logic to copy the shell env var
NODE_ENV
in to webpack, and ensure that whennpm run web-release
is called,NODE_ENV
is set toproduction
The text was updated successfully, but these errors were encountered: