Results 1 to 2 of 2

Thread: minifie sandbox library for an app written in a signle js file

  1. #1
    Sencha User
    Join Date
    Jun 2013
    Posts
    3

    Default minifie sandbox library for an app written in a signle js file

    hi guys! i write a script in a single js file that use extjs 4 sandbox.
    The entire library is 1,4 mb. How i can minifie the size of library with sencha cmd. i read some tutorial but i receive fail to parse to js script. what is the cmd?
    thanks in advance

  2. #2
    Sencha User tobiu's Avatar
    Join Date
    May 2007
    Location
    Munich (Germany)
    Posts
    2,751
    Answers
    130

    Default

    For a custom build, do not use the ext-all but the ext lib.

    It requires to use MVC (or at least to manually require the files you need), which get loaded with the microloader for development. When this works and the app was set up using sencha CMD (generate workspace, generate app), you can use

    sencha app build

    Best regards
    tobiu
    Best regards
    Tobias Uhlig

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •