dart client side hide/obfuscate code -
is possible hide/obfuscate client side dart code (or js generated dart)?
it looks obfuscation route when using javascript. dart come obfuscator?
thanks
when run pub build
command line default tree-shaking , minification. (when run within darteditor tree-shaking , minification disabled.
i think minification , tree-shaking pretty close obfuscation obfuscation wasn't goal, cut down file size client needs download. tree-shaking removes code isn't called anywhere , minification replaces readable names short random character combination.
beside i'm not aware of obfuscation solution dart.
dart2dart same dart code experimental currently.
here illustration how configure pub build
output dart code (dart2dart) instead of javascript run dart webapp on apache server
dart dart-pub dart-js-interop
No comments:
Post a Comment