[ALOY-1543] Widget files are optimized twice during compilation
| GitHub Issue | n/a | 
|---|---|
| Type | Improvement | 
| Priority | High | 
| Status | Resolved | 
| Resolution | Fixed | 
| Resolution Date | 2017-02-25T01:02:02.000+0000 | 
| Affected Version/s | alloy 1.9.8 | 
| Fix Version/s | Release 6.2.0 | 
| Components | Widgets | 
| Labels | n/a | 
| Reporter | Feon Sua Xin Miao | 
| Assignee | Bruce Wayne | 
| Created | 2017-02-25T00:55:17.000+0000 | 
| Updated | 2017-04-03T18:37:39.000+0000 | 
Description
	When MVC generation step of alloy compile, widget files are optimized.
So there is no reason to optimize widget file on OPTIMIZING step again.
Community PR: https://github.com/appcelerator/alloy/pull/805
*To Test* 1. Create an alloy project with widget 2. Do alloy compile,
alloy compile --config platform=ios3. Look into the ouput log, under----- MVC GENERATION -----section, you should see the widget's controller files are processed. 4. Scroll down to----- OPTIMIZING -----section of the output, you should not see the same controller files being processed again.