We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The dist breaks any build which has a module object defined. This object is always defined in a CommonJS environment. The error I get is:
module
Uncaught ReferenceError: process is not defined
This error results from this check:
var isElectron = typeof module === 'object' && process && process.versions && process.versions.electron;
module is an object because we have CommonJS but process is undefined because we are neither in node.js, nor in electron.
This issue is related to #1123.
The text was updated successfully, but these errors were encountered:
looks like this just needs an additional check && typeof process !== 'undefined' before && process?
&& typeof process !== 'undefined'
&& process
Sorry, something went wrong.
Yep think so!
I've opened a PR for this.
f032037
No branches or pull requests
The dist breaks any build which has a
module
object defined. This object is always defined in a CommonJS environment. The error I get is:This error results from this check:
module
is an object because we have CommonJS but process is undefined because we are neither in node.js, nor in electron.This issue is related to #1123.
The text was updated successfully, but these errors were encountered: