Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix 'process is not defined' in browser environments
Webpack 5 doesn't shim Node's process object by default anymore. Only instances of process.env.NODE_ENV are replaced statically. This means that unguarded checks of process.env will crash in browser environments (such as Karma).
- Loading branch information