I notice that during build, my output folder has a ".orig.js" file first 
before finally optimizing it to the final js output.

I have 2 questions around this:

1) May I know what compilation flag generates this orig.js file?

2) Is there a way to generate some kind of map of the functions from the 
mangled ones in orig.js to the minified ones in the final js file?
I understand that we can generate a source map during compilation via the 
-g4 flag.
But doing this will require exposing some of the debugging information and 
will hence bloat the final output file to around 4x of the output wihout 
the -g flag.


-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to