urbien / urbini

Urbini ideas are now part of Tradle https://github.com/tradle, see also
http://tradle.io
30 stars 5 forks source link

optimize speed and size by supporting Closure's advanced optimizations #1

Open urbien opened 11 years ago

urbien commented 11 years ago

For that we need to change option to advanced_optimization and compile js files together, not separately, like we do today. This is needed as this optimization level renames external functions and globals. That means we need to compile all the libraries we depend on together with Urbini code. Also, we need to define globals we use and all the code called from templates as externs.