1. #1
    Sencha Premium Member christoph.hartmann's Avatar
    Join Date
    Feb 2013
    Location
    Bonn, Germany
    Posts
    8
    Vote Rating
    1
    christoph.hartmann is on a distinguished road

      0  

    Default Strip whitespace and comments with Sencha Cmd 4.x

    Strip whitespace and comments with Sencha Cmd 4.x


    I used to strip whitespace and comments from my all-classes.js with Sencha Cmd 3.x by adding the property build.compression.strip=1 to my production.properties config. The flag is active, as I was told by "sencha ant .props":

    [INF] [echoproperties] build.compression=
    [INF] [echoproperties] build.compression.closure=0
    [INF] [echoproperties] build.compression.strip=1
    [INF] [echoproperties] build.compression.ugilfy=0
    [INF] [echoproperties] build.compression.yui=0

    Then I migrated to Sencha Cmd 4.0 and now this flag does not work anymore.
    Does anyone know how to strip whitespace and comments with Sencha Cmd 4.x?

  2. #2
    Sencha - Support Team
    Join Date
    Oct 2011
    Posts
    3,948
    Vote Rating
    131
    fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all

      0  

    Default


    Check out the following post. I hope it helps.
    http://www.sencha.com/forum/showthre...l=1#post990738
    Get more personalized support via a support subscription.

    Want to learn Sencha Touch 2? Check out
    Sencha training
    Sencha Touch in Action

    Need more help with your app? Hire Sencha Services services@sencha.com

    When posting code, please use BBCode's CODE tags.

    Need to include a test case use:
    The official Sencha Fiddle

  3. #3
    Sencha Premium Member christoph.hartmann's Avatar
    Join Date
    Feb 2013
    Location
    Bonn, Germany
    Posts
    8
    Vote Rating
    1
    christoph.hartmann is on a distinguished road

      0  

    Default


    Yes, it did, thank you, I now use the x-strip-js ant task as an after-page build step

Thread Participants: 1

Tags for this Thread