Need to include JSBuilder3 in the gem.
In development mode it can provide sencha-touch-all-debug.js with all components included. (better if compiled locally)
But in production when calling rake assets:precompile the gem must compile js framework only with used components.
Still don't know is it possible to parse the code and automaticly add used components, or need to work with configuration file.
Ideas are welcome!
Need to include JSBuilder3 in the gem. In development mode it can provide
sencha-touch-all-debug.js
with all components included. (better if compiled locally) But in production when callingrake assets:precompile
the gem must compile js framework only with used components. Still don't know is it possible to parse the code and automaticly add used components, or need to work with configuration file. Ideas are welcome!