4
orijin
8y

FUCK ME!#@$%@ 6 hours now, trying to make a production build of my react/redux app but FUCKING envify sets NODE_ENV after the imported libraries are transformed!! IT WORKED TWO DAYS AGO WHAT HAPPENED :((

Comments
  • 1
    Fuck bro. I know the pain.

    Just saying: I use a boilerplate[1] for my react/redux app. It tends to reduce this fuckery a lot.

    [1] https://github.com/erikras/...
  • 1
    @rayanon thanks man! I have my own build tool on browserify and was hoping i could fit react in there too. It was working fine for a week then i updated node_modules -.-

    Was just thinkinh screw that I'll switch to webpack. Thanks for the link!
Add Comment