Test of RequireJS as tool candidate for combining js files for the Flat/Adagio project.
If RequireJS works as intended, we might be using it in replacement of Smash. The problem with Smash is that it adds a new keyword : import. So we gets errors syntax, and there are some IDE features that we can't use anymore such as auto-formatting.
The optimizer is launched with :
node node_modules/r.js -o r.buildconfig.js
- basic usage of RequireJS to keep the same definition and usage pattern for Adagio
- use the optimization feature RequireJS in order to combine Adagio into one file.
- write test automation
- try the interaction between the generated code and node
- try using modules system the proper way