Titanium JIRA Archive
Alloy (ALOY)

[ALOY-1543] Widget files are optimized twice during compilation

GitHub Issuen/a
TypeImprovement
PriorityHigh
StatusResolved
ResolutionFixed
Resolution Date2017-02-25T01:02:02.000+0000
Affected Version/salloy 1.9.8
Fix Version/sRelease 6.2.0
ComponentsWidgets
Labelsn/a
ReporterFeon Sua Xin Miao
AssigneeBruce Wayne
Created2017-02-25T00:55:17.000+0000
Updated2017-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

Comments

  1. Feon Sua Xin Miao 2017-02-25

    *To Test* 1. Create an alloy project with widget 2. Do alloy compile, alloy compile --config platform=ios 3. 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.

JSON Source