You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@royale.apache.org by GitBox <gi...@apache.org> on 2019/05/10 19:59:51 UTC

[GitHub] [royale-compiler] joshtynjala edited a comment on issue #89: Bad generation of source-maps in libraries for @extern classes

joshtynjala edited a comment on issue #89: Bad generation of source-maps in libraries for @extern classes
URL: https://github.com/apache/royale-compiler/issues/89#issuecomment-491412409
 
 
   Here is where the source map file is being written:
   
   https://github.com/apache/royale-compiler/blob/develop/compiler-jx/src/main/java/org/apache/royale/compiler/internal/codegen/js/JSWriter.java
   
   I see an isExterns variable that you might be able to use to skip the source map creation.
   
   Additionally, in one of the emitters, it adds a special JS comment that browsers look for to determine if there's a source map. I don't think it will break anything if this comment points to a file that doesn't exist. However, if I'm wrong, that would need to be skipped for externs too.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services