Error in production mode using Vite VueJS

@Forrest I built a sample project that reproduces the issue. You can download the source code from this link WeTransfer - Send Large Files & Share Photos Online - Up to 2GB Free

The project is a basic VueJS + Vite application. Steps to reproduce to run the example.

npm install
npm run dev

Visit http://localhost:3000 and upload any .vti volume file. In development mode the app seems to work correctly but as soon as I go for production:

npm build

And uploading the dist folder on a web server, I got the error message we discussed.

Extra issues:
in the dev mode, if you check the console there are several warnings in the chrome browser

Any hint on that?

Thank you so much for your help. I really appreciate it. :slight_smile: