Join Slack
Powered by
is there a way to obfuscate code for compose web?
# compose-web
a
Alex Styl
08/27/2023, 4:46 AM
is there a way to obfuscate code for compose web?
Alex Styl
08/27/2023, 5:15 AM
ended up using this tool to obfuscate the composeApp.js file. not sure how bad this will be for performance. will report once live
https://github.com/javascript-obfuscator/javascript-obfuscator
a
Arjan van Wieringen
08/27/2023, 9:13 AM
According to their readme it’ll be 15-80% slower. Which is a terrible tbh
Arjan van Wieringen
08/27/2023, 9:14 AM
Besides, do you mean compose html? Because compose web is wasm… don’t know how you’d want to obfuscate it
a
Alex Styl
08/27/2023, 9:15 AM
I deployed a compose wasm app using it at
composables.com/components/preview
seems alright so far
Alex Styl
08/27/2023, 9:16 AM
compose web gives you a composeApp.js file which contains your compose code. i ended up using the obfuscator to obfuscate that
18
Views
Open in Slack
Previous
Next