I was wondering if RequireJS's Optimizer (r.js) does more besides concatenating and minifying my javascript files.
For example, could I use Gulp to minify and concatenate my files?
Their result would be the same?
Thank you
I was wondering if RequireJS's Optimizer (r.js) does more besides concatenating and minifying my javascript files.
For example, could I use Gulp to minify and concatenate my files?
Their result would be the same?
Thank you
Copyright © 2021 Jogjafile Inc.
Gulp is not a tool for minifying and concatenating files, but rather a framework for all sorts of developement automation, and there are modules for Gulp which do exactly that, as well as many other tools that you can use with Gulp.
r.js is mainly for optimization of the code. You can also use r.js and Gulp together.