Open seveves opened 7 years ago
PR #189 will be fixed with this too
This issue is now fixed per my work with Bree, I have an updated fork of this package called @breejs/later
. See https://github.com/breejs/later if you have additional PR's or issues to file. Contributions welcome to clean it up.
process is a global nodejs variable that is not defined in the browser by default. So webpack doesn't know about it. Of course there are ways to define the process variable with webpack but that is not the default behavior and needs a plugin (DefinePlugin) or other workaround. I've tested this change locally with an angular/ionic app and it works great. I also tried to keep the ternary operator (?:) but this also confuses webpack.