We have used vite legacy plugin
If we run npm run build
commad, we see three files generated polyfill.js index.js and index-legacy.js.
After running npm run cordova-android-build
command, it seems that the legacy and polyfill files are removed from cordova build folder.