Missing Js files, when run on my webserver

Hi All

I have recently updated my ionic app to version 7, but when i transfer the www folder to my website/webserver, I am getting the errors on the console.

GET https://myappa.app/web/runtime-es2015.js net::ERR_ABORTED 404 (Not Found)
        GET https://myappa.app/web/polyfills-es2015.js net::ERR_ABORTED 404 (Not Found)
        GET https://myappa.app/web/main-es2015.js net::ERR_ABORTED 404 (Not Found)

It seems these files are missing, but when i run the app locally on my PC using ionic serve It seems to be working well.

How are you building the app?

The issue is solved; it seems like the web server was still caching my previous index.html file.

update the path of the your index.html and also adjust the deployment process to make sure that correct file is served.