문제

I was wondering, how are bigger JavaScript projects being maintained? I've been looking into AMD systems, such as RequireJS and BackboneJS. However, I'd rather see my pack of JavaScript files being merged into one minified file using a build system or something. Looking at jQuery's Github repository, they seem to do something similar. So the question, are there build systems for JavaScript or any other approaches to merge multiple JS files to one?

도움이 되었습니까?

해결책

Have a look at Grunt, it does this and much more!

With RequireJS you can use the optimizer

다른 팁

You might want to check this URL. A very nice discussion on Require.js featuring top JS technologists.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top