bundling and minification - dart, reflection and source maps? -
I have a proxy object that can be used to relocate You can use the name of a symbol to get real. In the case of 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?
noSuchMethod :
noSuchMethod (invite invocation) {string member = mirrors .getName (invocation.memberName); }
Comments
Post a Comment