Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What Browser-side Javascript Module Loaders are production-ready?

Tags:

javascript

I'm working on a large web application with many javascript files. I'd like to turn those into CommonJs Modules to make dependencies explicit. What browser-side loaders exist for CommonJs modules, and what are their limitations?

Browser targeted CommonJS loaders that I can find are Tiki and Yabble. Has anyone tried them, and how well do they work?

like image 953
Sean McMillan Avatar asked Nov 05 '22 11:11

Sean McMillan


1 Answers

Merge your scripts, to load it faster, http://www.sencha.com/products/jsbuilder/! It's not only build extjs, it can build any kind of javascript.

But if you need module loader, try RequireJS -- simple, well tested, well documented.

like image 109
Roki Avatar answered Nov 15 '22 12:11

Roki