I've been working on modifying the bundled sencha-touch.jsb3 file in an effort to decrease the size of the framework code.
Here's what I've done so far:
First, I downloaded the Sencha SDK Tools from
I then made edits to
SenchaTouch/sencha-touch.jsb3
. Specifically, I made changes to:... "builds": [ { ... "debug": true, ...
and updated it to:
... "builds": [ { ... "debug": false, "compress": true, ...
Next, I ran the command
sencha build -p path/to/sencha-touch.jsb3 -d path/to/result/
The sencha-touch.js file was successfully built, maintaining comments, white spaces, and other formatting. However, during the "Compress and obfuscate sencha-touch.js" step, the compression tool (yuicompressor) flagged syntax errors and refused to minify the file.
If you have encountered and resolved this issue before, your insights and experiences would be greatly appreciated if shared here.