Titanium JIRA Archive
Alloy (ALOY)

[ALOY-1544] Add optimizingExeptions option to config.json

GitHub Issuen/a
TypeImprovement
PriorityCritical
StatusResolved
ResolutionFixed
Resolution Date2017-02-27T02:15:44.000+0000
Affected Version/sn/a
Fix Version/sRelease 6.2.0
ComponentsTooling
Labelsn/a
ReporterJong Eun Lee
AssigneeBruce Wayne
Created2017-02-25T01:52:15.000+0000
Updated2017-04-03T18:37:06.000+0000

Description

This PR make you can skip the file when doing an optimization manually. There are no reason to optimize js files which doesn't depends on alloy. Community PR : https://github.com/appcelerator/alloy/pull/818

Comments

  1. Feon Sua Xin Miao 2017-02-27

    *To Test* 1. Create an alloy app 2. Include a js file under app/lib 3. Add the js file under optimizingExeptions of config.json
       {
         //...
         "optimizingExceptions": [
               "something.js",
           ],
         //...
       }
       
    4. Compile and look into output, under ----- OPTIMIZING -----, you should not see the file being optimized.

JSON Source