You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ca...@apache.org on 2018/09/30 17:38:12 UTC

[royale-compiler] branch develop updated: remove sourceMappingURL from App.js release, still need to remove the generation of the source map file App.js.map

This is an automated email from the ASF dual-hosted git repository.

carlosrovira pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-compiler.git


The following commit(s) were added to refs/heads/develop by this push:
     new 0daed06  remove sourceMappingURL from App.js release, still need to remove the generation of the source map file App.js.map
0daed06 is described below

commit 0daed06bd828274cf8d7a3f6ff75eaee42aaf624
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Sun Sep 30 19:38:05 2018 +0200

    remove sourceMappingURL from App.js release, still need to remove the generation of the source map file App.js.map
---
 .../compiler/internal/codegen/mxml/royale/MXMLRoyalePublisher.java     | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/compiler-jx/src/main/java/org/apache/royale/compiler/internal/codegen/mxml/royale/MXMLRoyalePublisher.java b/compiler-jx/src/main/java/org/apache/royale/compiler/internal/codegen/mxml/royale/MXMLRoyalePublisher.java
index 605c20d..6f81156 100644
--- a/compiler-jx/src/main/java/org/apache/royale/compiler/internal/codegen/mxml/royale/MXMLRoyalePublisher.java
+++ b/compiler-jx/src/main/java/org/apache/royale/compiler/internal/codegen/mxml/royale/MXMLRoyalePublisher.java
@@ -507,7 +507,8 @@ public class MXMLRoyalePublisher extends JSGoogPublisher implements IJSPublisher
 
             compilerWrapper.compile();
 
-            appendSourceMapLocation(projectReleaseMainFile, projectName);
+            //we don't want sourceMap file in release build since it's only needed in debug
+            //appendSourceMapLocation(projectReleaseMainFile, projectName);
         }
 
         // if (ok)