Results 1 to 4 of 4

Thread: Disable minification on some files

  1. #1
    Sencha User
    Join Date
    Jan 1970
    Posts
    67
    Vote Rating
    0
      0  

    Default 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
    4,094
    Answers
    342
    Vote Rating
    136
      0  

    Default

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

  3. #3
    Sencha User
    Join Date
    Jan 1970
    Posts
    67
    Vote Rating
    0
      0  

    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
    4,094
    Answers
    342
    Vote Rating
    136
      0  

    Default

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

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
  •