-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
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
Upstream Problem with process
polyfill
#3
Comments
While the The library using |
If rollup were rolling up the |
It could be due https://github.com/defunctzombie/node-process/blob/master/package.json#L18 Which we are using due to the Which can also be happening because the
|
I just tested it. It all works if the |
I need to find a way to inject globals into the UMD bundle. Otherwise things like |
The only solution is to throw away all the current polyfills in devDependencies and solely rely on I'm not sure if this works well, since I am relying on good Buffer behaviour most importantly. The best way is to make the ava tests run in the browser (or run the ava tests against the built distributions instead of the source). |
This is the UMD target now:
|
The
process
polyfill hasn't added theplatform
property which makes not only your own code fail but also other libraries fail that expect there to be aplatform
property.defunctzombie/node-process#55
Then test with:
The text was updated successfully, but these errors were encountered: