bundling and minification - dart, reflection and source maps? -


I have a proxy object that can be used to relocate noSuchMethod to relocate invocations to other objects , But the proxy object is present in a minified / obscure environment, and the objects are included in the inconclusions in a non-minified / obfuscated state, so when the name of the method to be renamed goes to the non-minimal environment So the name does not match Class I is MyFile.dart.js.map file, what is a simple algorithm to parse it and get by using the name of the source map of the original charge back the name Minified? Or is there a library better than that already in dart?

You can use the name of a symbol to get real. In the case of noSuchMethod :

  noSuchMethod (invite invocation) {string member = mirrors .getName (invocation.memberName); }    

Comments

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -