Exclude script from Cordova build


#1

Is it possible, to keep mobile version of app a little bit lightweight from desktop?
I use some js script that doesn’t work on mobile anyway.


#2

The size of the bundle should actually matter less in cordova, since the scripts are all installed directly to the device. But right now there is no way to exclude some files from your app, you can only do it in a package.


#3

Problem is that mobile Safari have more strict rules or something, that blame my js script which works fine on desktop.
I use Avatars.io and it anyway not possible to upload img from mobile, so I was thinking about replace it with something suitable. Nothing found yet.