Closed matthewbauer closed 4 years ago
Some things like webpack create the “global” variable so we cannot rely on just that to detect nodejs systems. To supplement this, we can also check for the “require” function. This fixes an issue where require is undefined when using jsaddle-warp.
/cc @hamishmack @Ericson2314
Some things like webpack create the “global” variable so we cannot rely on just that to detect nodejs systems. To supplement this, we can also check for the “require” function. This fixes an issue where require is undefined when using jsaddle-warp.
/cc @hamishmack @Ericson2314