Titanium JIRA Archive
Alloy (ALOY)

[ALOY-261] Re-evaluate use of uglifyjs vs. code-processor

GitHub Issuen/a
TypeStory
PriorityMedium
StatusClosed
ResolutionWon't Fix
Resolution Date2012-11-14T16:49:01.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsXML
Labelsn/a
ReporterTony Lukasavage
AssigneeTony Lukasavage
Created2012-09-12T12:20:44.000+0000
Updated2014-02-04T00:34:49.000+0000

Description

With a need for source mapping and other features that may not be readily available for us in uglifyjs, and the desire to use less external technologies, we should consider the code-processor project for our AST parsing, compiler conditionals, etc... for Alloy. Will need to have discussion with Bryan to see if code-processor covers our necessary list of features, and if it will making true debugging of alloy apps, in alloy code, easier than if we tried to do it with uglifyjs v2.

Comments

  1. Tony Lukasavage 2012-11-14

    the code-processor is a more generic means of processing javascript. Alloy's use of uglifyjs for things like compiler directives and code generation are very specific to Alloy. For this reason, Alloy will continue to do its own processing using uglifyjs. In the future, though, it may be possible to use the code-processor as a supplement to Alloy specific processing. If this is desired, a new ticket will be created in the future to account for it.

JSON Source