I use NativeScript Sidekick. When I build my app, I turn on Webpack and uglifyjs, but do these options remove all my comments in my XML and JS files? Do they also minify XML and JS files?
I feel minify XML and JS files and removal of all comments in both XML and JS, improves speed and privacy.
SideKick has nothing to do with this, it's just a GUI tool for everything you could possibly do with {N} CLI.
If you are using Webpack (--bundle
) for your build, then it's all about Webpack & UglifyJs (the default minimizer) configuration. I think the default configuration removes comments and the XML is embedded as a string within JS file.