Search code examples
sencha-touch-2sencha-cmd

How do I create a production build/minified scripts for Sencha Touch app?


There doesn't seem to be documentation on how to build a production mode app for ST2 using Sencha Cmd utility on their web site anywhere. Can anyone point me in the right direction?


Solution

  • There is no difference in command to build your app between SDK Tools and Sencha Cmd:

    To build your app for testing:

    sencha app build testing
    

    To build your app for production deployment:

    sencha app build production
    

    To package your application for distribution on App Stores:

    sencha app build native