Changes to allow this plugin to be used with android webpack/snapshot.
Java package/namespaces usage evaluated at build time will cause snapshot to fail so must be placed in a function that will not execute until runtime. Additional typing added via interfaces to compensate for the loss of having the class inside a function.
Changes to allow this plugin to be used with android webpack/snapshot.
Java package/namespaces usage evaluated at build time will cause snapshot to fail so must be placed in a function that will not execute until runtime. Additional typing added via interfaces to compensate for the loss of having the class inside a function.
Some additional TS cleanup, as well.