1. #1
    Sencha User
    Join Date
    Sep 2012
    Posts
    1
    Vote Rating
    0
    Izack is on a distinguished road

      0  

    Default Unanswered: minifying question

    Hey guys i have a question about minification:

    Is it possible to write several "define"s in one js file and minifying it will work?
    or the only way is to dedicate separate js file for every define and then the minifying process will combine them all into one file ?

    Thanks,
    Izack.

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,264
    Vote Rating
    485
    Answers
    696
    scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute scottmartin has a reputation beyond repute

      1  

    Default

    Is it possible to write several "define"s in one js file and minifying it will work?
    Sure, it will work ... but it is recommended to use separate JS for better organization.

    Scott.

Thread Participants: 1

Tags for this Thread