[ALOY-1691] Source maps report incorrect "file" value
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2019-06-21T19:11:10.000+0000 |
Affected Version/s | n/a |
Fix Version/s | CLI Release 7.1.0, Alloy 1.14.0 |
Components | n/a |
Labels | n/a |
Reporter | Christopher Williams |
Assignee | Christopher Williams |
Created | 2019-06-07T15:48:12.000+0000 |
Updated | 2019-06-21T19:11:10.000+0000 |
Description
The generated source maps for Alloy report an incorrect "file" value, which is intended to be the generated JS file's path. (it reports a similar path, with the platform folder stripped out)Comments
- Christopher Williams 2019-06-17 https://github.com/appcelerator/alloy/pull/893
- Christopher Williams 2019-06-19 Note that the "file" property within the source map should point to a full absolute filepath - it should not be relative to sourceRoot (that's only for the 'sources' property)
- Satyam Sekhri 2019-06-21 The source map shows the correct value for the "file" which is an absolute filepath to the js file under the respective platform folder. Verified on: Mac OS 10.14.3 Ti SDK: 8.1.0.v20190619081758 Appc CLI: 7.1.0-master.22 Node: 10.13.0 Alloy: 1.14.0-1 JDK: 1.8.0_144 Xcode: 10.2.1