Skip to content

About

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

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

17 Commits

Folders and files

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

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages