Thanks Rishi for the response .. Is there a good reference on how to do it? Am very much confused with gulp :(
I need to minify and concatinate all my js files urgently for a project. Your inputs are highly appreciated. *Thanks ..* On Monday, March 16, 2015 at 7:18:06 PM UTC+5:30, Rishi Tandon wrote: > > Satish, you might want to use some JS automation build library such as > GULPJS [http://gulpjs.com/] > > The script might look as: > > scripts = gulp.src('/**/*.js') > .pipe(concat('concatenatedJS.scripts.js')) > .pipe(gulp.dest('public/')) > > .pipe(rename('concatenatedJS.scripts.min.js')) > .pipe(uglify()) > > You might need to add the 'gulp-concat', 'gulp-uglify' and other gulp > related modules. > > Regards > Rishi > > On Mon, Mar 16, 2015 at 8:53 AM, Satish B <[email protected] > <javascript:>> wrote: > >> Hi guys, >> >> I've done a small project in angular. I've a lot more to learn. >> >> For now I want to know how to minify all the JavaScript files I'm using >> in my project? >> >> Is there a way I can merge all the files into one? >> >> If so, please let me know the steps. >> >> *Thanks a lot ..* >> >> -- >> You received this message because you are subscribed to the Google Groups >> "AngularJS" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> Visit this group at http://groups.google.com/group/angular. >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
