I had raised this on our Teams DM, and I'm posting it here so it can get more attention.
We shouldn't include the cordova.js file in our project files. It's a file supposed to be auto-generated by cordova when building the app. It is included here as a "workaround" to make sure Parcel doesn't complain about a non-existent script, but we definitely shouldn't do that.
I had raised this on our Teams DM, and I'm posting it here so it can get more attention.
We shouldn't include the cordova.js file in our project files. It's a file supposed to be auto-generated by cordova when building the app. It is included here as a "workaround" to make sure Parcel doesn't complain about a non-existent script, but we definitely shouldn't do that.
Looking at https://github.com/parcel-bundler/parcel/issues/2398, we have two possibilities : Either add cordova.js as an entry point or use this plugin to mark external files.
I was unable to get both of those to work, so any help appreciated.
cc @micahlt @Hexsphere