1. #1
    marco.marsala
    Guest

    Default Unanswered: Disable minification on some files

    Unanswered: Disable minification on some files


    Hi.

    There is any option to tell Sencha Cmd to not minify some .js files?
    I'm using "sencha app build package".

    I noticed that the minification routine damages some libraries, for example the pdf.js (http://mozilla.github.io/pdf.js/).
    Now I workaround the problem by manually overwriting in the "build/package" folder, after every build, the minified pdf.js with the unminified one.

    It works but it is a tedious task.

    Thank you.

    Dr. Marco Marsala
    Network Solution srl
    http://www.realizzazionesitigenova.it

  2. #2
    Sencha - Support Team
    Join Date
    Oct 2011
    Posts
    3,978
    Vote Rating
    132
    Answers
    335
    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


    Yes please refer to the Sencha Compiler Reference guide:
    http://docs.sencha.com/touch/2.2.1/#...mmand_compiler

  3. #3
    marco.marsala
    Guest

    Default


    Hi I cannot find anything useful in that page. I need to disable minification only for one file, while packaging for distribution (sencha app build package).

  4. #4
    Sencha - Support Team
    Join Date
    Oct 2011
    Posts
    3,978
    Vote Rating
    132
    Answers
    335
    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


    You would have it issue sencha compile command with exclude -file.
    See section on "Set include and exclude"

Thread Participants: 1

Tags for this Thread