jrcryer / generator-mean

Yeoman generator for a MEAN stack, inspired by mean.io
MIT License
120 stars 25 forks source link

Update config function in order to read json 'partial' configs #20

Closed antoniocapelo closed 9 years ago

antoniocapelo commented 10 years ago

Hi! I noticed that the generated app wasn't able to use the NODE_ENV variables correctly, which was driving me nuts. Found out that it's because the config.js is slicing all the configs as they were .js, but most of them are json. That quick change made it possible to use production environment correctly.

antoniocapelo commented 10 years ago

Any news on this? :)

jrcryer commented 9 years ago

Sorry for not getting to this sooner! Merge :+1:

antoniocapelo commented 9 years ago

No worries! Nice work (Y)