[ALOY-1544] Add optimizingExeptions option to config.json
| GitHub Issue | n/a |
|---|---|
| Type | Improvement |
| Priority | Critical |
| Status | Resolved |
| Resolution | Fixed |
| Resolution Date | 2017-02-27T02:15:44.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Release 6.2.0 |
| Components | Tooling |
| Labels | n/a |
| Reporter | Jong Eun Lee |
| Assignee | Bruce Wayne |
| Created | 2017-02-25T01:52:15.000+0000 |
| Updated | 2017-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
*To Test* 1. Create an alloy app 2. Include a js file under
app/lib3. Add the js file underoptimizingExeptionsofconfig.json4. Compile and look into output, under{ //... "optimizingExceptions": [ "something.js", ], //... }----- OPTIMIZING -----, you should not see the file being optimized.