Results 1 to 3 of 3

Thread: How to ignore compression in production build

  1. #1
    Sencha Premium Member
    Join Date
    Jan 1970
    Posts
    12
    Vote Rating
    1
      0  

    Exclamation How to ignore compression in production build

    Hi All,
    I want to build the ExtjS 6 application with Cmd 6.0.2.79 version. which should not compress the app.js

    infact i want to compress the app.js with jscrambler.

    I have tried setting
    compress:{
    type:false
    }
    compression:false

    in app.json

    chaniging the build.compression to false in the after init target

    and changing
    enable.resource.compression= false

    in produciton .properties


    no one worked out .


    Any input on this is highly appreciated.

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Vote Rating
    291
      0  

    Default

    Have you tried modifying your .sencha/app/native.defaults.properties file to update the value of build.compression.yui?
    Code:
    build.compression.yui=0

  3. #3
    Sencha Premium User
    Join Date
    Nov 2008
    Posts
    9
    Vote Rating
    0
      0  

    Default

    app.json:
    Code:
    "production": {
        "compressor": {
            "type": "none"
        }
    }
    To disable optimizations:
    Code:
    "output": {
        "js": {
            "optimize": false
        }
    }
    To disable transpiler (but it does not work for me):
    Code:
    "production": {
        "compressor": {
            // http://docs.sencha.com/cmd/6.5.1/api/Cmd.codebase.json.Compressor.html
            "polyfills": "none"
        }
    },
    "output": {
        "js": {
            // https://docs.sencha.com/cmd/guides/whats_new_cmd65.html#whats_new_cmd65_-_ecmascript_2015__or_es6_
            "version": "ES6"
        }
    }
    Tested by me with Sencha Cmd v6.5.3.16.

Similar Threads

  1. Replies: 7
    Last Post: 7 Jun 2017, 1:08 AM
  2. png Compression? How to disable/create traceable build?
    By kmiklas in forum Sencha Touch 2.x: Q&A
    Replies: 1
    Last Post: 30 Aug 2015, 4:38 AM
  3. Replies: 7
    Last Post: 23 Aug 2012, 9:44 AM
  4. ST 2.0.1 build compression error
    By ci11111 in forum Sencha Touch 2.x: Q&A
    Replies: 2
    Last Post: 10 May 2012, 10:10 AM

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
  •