Skip to content

Test of RequireJS as tool condidate for combining js files for the Flat/Adagio project.

Notifications You must be signed in to change notification settings

cyrilcoutelier/TestRequireJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TestRequireJS

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

Done :

  • 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.

TODO :

  • write test automation
  • try the interaction between the generated code and node
  • try using modules system the proper way

About

Test of RequireJS as tool condidate for combining js files for the Flat/Adagio project.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages