onlineracoon
onlineracoon

Reputation: 2970

javascript project compiler

Is there a compiler for big javascript projects, I don't want to use coffeescript just plain javascript, but I want it to compile on the clientside, not server side or what ever.

So for example:

app.js

// Libs
include jquery.min.js
include underscore.min.js
include backbone.min.js

// Src
include src/homepage.js

And then in html we would only include app.js which automatically combines those libraries / source files. Same like LESS css.

Are there tools / projects to take care of this? Same story with html, which do include "header.php" and include "footer.php" when it's view logic, we want it on the client side.

Thanks

Upvotes: -1

Views: 769

Answers (1)

Jivings
Jivings

Reputation: 23262

Take a look at something like headjs or if that's not to your liking then practically any JavaScript compressor will do.

Upvotes: -1

Related Questions