rtfeldman / seamless-immutable

Immutable data structures for JavaScript which are backwards-compatible with normal JS Arrays and Objects.
BSD 3-Clause "New" or "Revised" License
5.37k stars 194 forks source link

Make source browser-compatible #166

Closed nazar-pc closed 7 years ago

nazar-pc commented 7 years ago

Browser doesn't contain process global variable which results in exception mentioned in #164

rtfeldman commented 7 years ago

This would defeat the purpose of envify, which is the whole reason those are in there. It gets compiled out of the production build, which is what's supposed to be used in the browser instead of the source.

Does https://github.com/rtfeldman/seamless-immutable/pull/165 resolve this?

nazar-pc commented 7 years ago

165 resolves different issue I had with this tool.

Closing this in favor of discussion in #164