Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Guard against
process
not being defined (#911)
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