1. #1
    Sencha Premium Member
    Join Date
    May 2008
    Posts
    24
    Vote Rating
    0
    renoye is on a distinguished road

      0  

    Default sencha compile on one folder instead of the whole application

    sencha compile on one folder instead of the whole application


    Hi,
    Is there a way to do sencha compile on one folder instead of the whole application. Basically, I have a folder "modal" which has all auto generated js files. I want put those files into one js file and include that js file in the index.html and leave other js file dynamically loading.

    also how to compile js files without compression?

    Thanks a lot.

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,872
    Vote Rating
    438
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    You should just use YUI compressor and create a batch file to compress the files you want.

    Code:
    $ cat file1.js file2.js > files-all.js
    $ java -jar /usr/share/yui-compressor/yui-compressor.jar release/files-all.js -o files-min.js
    Scott.

Thread Participants: 1