Вопрос

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