Skip to content
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

Possibility of removing process/browser.js #328

Open
hmdhk opened this issue Feb 23, 2018 · 0 comments
Open

Possibility of removing process/browser.js #328

hmdhk opened this issue Feb 23, 2018 · 0 comments

Comments

@hmdhk
Copy link

hmdhk commented Feb 23, 2018

Using webpack as bundler, it automatically adds process/browser.js to the bundle since process is Used for example here: https://github.com/stefanpenner/es6-promise/blob/master/lib/es6-promise/asap.js#L32 to assert isNode.

Is process necessary for es6-promise to function properly or is it only used to detect node environment?

Is it possible to remove this dependency? (For example by releasing a version specifically for browsers)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant