Results 1 to 3 of 3

Thread: CMD 6: Production build doesn't minify "app.js"

    Success! Looks like we've fixed this one. According to our records the fix was applied for SDKTOOLS-1216 in 6.0.1.
  1. #1
    Sencha User
    Join Date
    Sep 2013
    Posts
    7

    Default CMD 6: Production build doesn't minify "app.js"

    Dear Support,
    I'm using Sencha CMD 6.0.0.202 (Windows 7 x64) with Sencha Touch 2.4.2.571 application.
    The issue is that "sencha app build production" creates the build, but "app.js" is not minified.

  2. #2
    Sencha Premium User
    Join Date
    Jun 2011
    Location
    Perth, Western Australia
    Posts
    182

    Default

    Ditto,... but I am running 6.0.0.202 on a Mac with Sencha Touch 2.4.2.571

  3. #3
    Sencha - Engineering israelroldan's Avatar
    Join Date
    Nov 2011
    Location
    The Netherlands
    Posts
    395

    Default

    Thanks for the report! I have opened a bug in our bug tracker.

    A quick workaround (add this to build.xml):
    Code:
        <target name="-after-build">
            <x-sencha-command>
                fs
                    minify
                        -f=${build.dir}/app.js
                        -t=${build.dir}/app.min.js
            </x-sencha-command>
            <move file="${build.dir}/app.min.js" tofile="${build.dir}/app.js" />
        </target>
    Last edited by israelroldan; 7 Jul 2015 at 7:55 AM. Reason: Added workaround

Similar Threads

  1. Replies: 2
    Last Post: 15 Jan 2015, 12:41 PM
  2. Replies: 1
    Last Post: 29 Sep 2014, 6:27 AM
  3. Replies: 7
    Last Post: 19 Apr 2013, 3:17 PM
  4. Replies: 1
    Last Post: 7 Aug 2012, 11:59 AM
  5. Replies: 3
    Last Post: 25 Jun 2012, 4:55 PM

Tags for this Thread

Posting Permissions

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