Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 3B2D9200BF3 for ; Wed, 21 Dec 2016 23:35:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 39D6F160B18; Wed, 21 Dec 2016 22:35:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 8A81C160B26 for ; Wed, 21 Dec 2016 23:34:59 +0100 (CET) Received: (qmail 34209 invoked by uid 500); 21 Dec 2016 22:34:58 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 34066 invoked by uid 99); 21 Dec 2016 22:34:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Dec 2016 22:34:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 837B12C2A66 for ; Wed, 21 Dec 2016 22:34:58 +0000 (UTC) Date: Wed, 21 Dec 2016 22:34:58 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-12284) Source map source file not found in Chrome MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 21 Dec 2016 22:35:00 -0000 [ https://issues.apache.org/jira/browse/CB-12284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15768369#comment-15768369 ] ASF GitHub Bot commented on CB-12284: ------------------------------------- Github user asfgit closed the pull request at: https://github.com/apache/cordova-lib/pull/512 > 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