Closed mariuskubilius closed 10 years ago
Hi, what does the code in the gulpfile.js looks like?
gulp.task('set-config', function(){
return gulp.src(config.appPath + 'config' + env + '.json')
.pipe(ngConstant())
.pipe(gulp.dest(config.tmpPath + 'constants'));
});
this was fixed in the master branch, so I just publish the changes into 0.1.1
. Thank you.
my config.json file is: { "name": "mgApp", "deps": ["ui.router", "ngResource"], "constants": { "API_PATH": "http://localhost:3000/" } }
and the file returned after running gulp task:
While defying in task it returns file with dependencies.