This example shows the following sbt assets plugins:
I have a private project which is a single page application. The templates should be compiled with handlebars. I wrote a custom require code which only has 50 lines (I dont need the requirejs lib with over 1000 lines of code) and each app file should be wrapped in a define block. This project shows each sbt-plugin in action:
This plugin precompiles the handlebars templates to javascript code.
This plugin wraps specific compiled coffeescript files and precompiled handlebar templates in a define block.
This plugin cleans up all coffeescript, less, handlebars and other source files.
This plugin concats the require coffeescript, the compiled coffeescript and handlebar files which are wrapped in define blocks.
Minify of the code is still in develop ...
© Sebastian Sachtleben, 2015