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/10/19 09:42:27 UTC

[royale-compiler] 01/02: Revert "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

commit 9e6ee00a7471c0453d848494cdbaeca369c24fe2
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Fri Oct 19 11:41:34 2018 +0200

    Revert "remove sourceMappingURL from App.js release, still need to remove the generation of the source map file App.js.map"
    
    This reverts commit 0daed06bd828274cf8d7a3f6ff75eaee42aaf624.
---
 .../compiler/internal/codegen/mxml/royale/MXMLRoyalePublisher.java     | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

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 07336a2..968a7f5 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,8 +507,7 @@ public class MXMLRoyalePublisher extends JSGoogPublisher implements IJSPublisher
 
             compilerWrapper.compile(false);
 
-            //we don't want sourceMap file in release build since it's only needed in debug
-            //appendSourceMapLocation(projectReleaseMainFile, projectName);
+            appendSourceMapLocation(projectReleaseMainFile, projectName);
         }
 
         // if (ok)