Hi,
for development in the browser, I am using the “ionic serve” command which supplies a cordova.js file which is empty apart from a comment line:
// mocked cordova.js response to prevent 404 errors during development
I would like to supply my own custom cordova.js file for browser development, e.g. by placing it in the www folder.
I have modified the serve.js file so that it will serve cordova.js from the www folder if there is one, otherwise it serves the mock version as it does currently.