[ALOY-537] Create internal source map for generated files from alloy compile
|Fix Version/s||Alloy 1.1.0, 2013 Sprint 05|
DescriptionAfter updating uglifyjs to version 2.x, Alloy needs to use its source mapping capability to create an internal map between original "app" folder code and the generated "Resources" folder code. This ticket will at the very least encompass what is necessary to do this for controllers. This or future tickets may cover the topics of adapters, models, etc...
- Tony Lukasavage 2013-03-08
Source maps are now generated for app.js and all controllers. The maps are stored in the "PROJECT_DIR/.map" folder and follow the pattern FILENAME_RELATIVE_TO_PROJECT_DIR.map. So for example:
PROJECT_DIR/Resources/alloy/controllers/index.jswould have its source map located at
PROJECT_DIR/.map/Resources/alloy/controllers/index.js.mapor another example, the standard app.js file would have its map at
- Anshu Mittal 2013-05-14 Need more information