Open hmdhk opened 6 years ago
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.
process
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)
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 assertisNode
.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)