cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Barham (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CB-12284) Source map source file not found in Chrome
Date Wed, 21 Dec 2016 22:55:58 GMT

     [ https://issues.apache.org/jira/browse/CB-12284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Tim Barham closed CB-12284.
---------------------------
    Resolution: Fixed

> Source map source file not found in Chrome
> ------------------------------------------
>
>                 Key: CB-12284
>                 URL: https://issues.apache.org/jira/browse/CB-12284
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: CordovaServe
>    Affects Versions: Master
>            Reporter: Tim Barham
>            Assignee: Tim Barham
>             Fix For: Master
>
>
> If you have a Cordova project that does some sort of transpiling (for example, TypeScript
-> JavaScript) and the source files aren't under the www folder, the original source files
can't be found when debugging in a browser.
> For example, you might have a project with these files:
> scripts/foo.ts
> www/scripts/foo.js
> www/scripts/foo.js.map
> The map file will likely link back to the original ts file as {{../../scripts/foo.ts}}
> Launch the project in a browser ({{cordova run browser}}), the path to the original ts
file is invalid (in the context of the server) and the file isn't found.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message