Closed frank-dspeed closed 4 years ago
you should maybe solve that in your steal loader to conditional return other modules for production and dev but please not in the module it self else its simply not use able.
as a workaround i did simply Mock window.process.ENV but that has undesired side effects and i want to drop that.
Ok i found out its a sub dependency that causes the error as all process.env is excluded here via steal-remove
will throw in the browser as process will not exist.