hughsk / envify

:wrench: Selectively replace Node-style environment variables with plain strings.
902 stars 57 forks source link

Environment variable should not overwrite value passed to custom envify #46

Closed boccob closed 5 months ago

boccob commented 8 years ago

Everything is fine if you don't use global transform in browserify. But if you need it, envify will use in dependencies environment variables instead of specified in parameters.

I created very small example here: https://github.com/boccob/envify-test Just npm install && npm run build. And then search staging in build.js.