johnpapa / gulp-patterns

Playground for Gulp Recipes
501 stars 146 forks source link

Added dynamic environment configuration support. (profile support) #89

Closed igorlino closed 9 years ago

igorlino commented 9 years ago

description at: https://github.com/johnpapa/gulp-patterns/issues/83

igorlino commented 9 years ago

I have had in my list to improve the approach that I used for the configuration.

I have a new requirement to build once use anywhere. Generation of constant files (as some angular-gulp-grunt based workflows do) is often too late, and well, a bit static.

I cross uppon an interesting approach:

https://vasya10.wordpress.com/2014/10/13/angularjs-startup-time-environment-configuration/

So I can now easily extend what I already do (with the json-based profiles).

igorlino commented 9 years ago

The dynamic configuration in my latest project has been improved once again. I don't waste time updating any longer the fork, therefore I close this pull request.