[ALOY-690] Add config.json option to disable source map creation
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-06-06T16:18:46.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Alloy 1.2.0, 2013 Sprint 12 |
Components | Tooling |
Labels | community, qe-testadded |
Reporter | Tony Lukasavage |
Assignee | Tony Lukasavage |
Created | 2013-06-05T12:38:10.000+0000 |
Updated | 2013-07-29T21:40:27.000+0000 |
Description
Currently source maps are generated for all controllers files to facilitate the step through debugger and code processor (and potentially future projects). This does however add additional time to the alloy compile process. We should add an option to the config.json that allows developers to skip the source map step if they are not using the aforementioned features. This will speed up overall compile time.
PR: https://github.com/appcelerator/alloy/pull/147 test app: https://github.com/appcelerator/alloy/tree/master/test/apps/testing/ALOY-690 To pass a functional test, ensure that when you compile this app that no source maps are generated in the compile output. You should also be able to set
sourcemap
totrue
, or remove the entry entirely, and the source maps should again be generated. This will be easiest to identify if you do a manual compile like this and ensure that the log level is set to trace:sample output with source maps
sample output without source maps
Verified as working. Titanium SDK 3.1.2.v20130726192706 Alloy 1.2.0-alpha Appcelerator Studio 3.1.3.201307252418 CLI 3.1.2 Node 0.8.22 Closing.