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]>
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].
> 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.
>
--
--
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.