How can add version suffix to end of some content of final build contents at Vite?
I am using Vite for building my REACT application. I am looking for adding a version query string at the end of some strings of final content of index.html and some image urls .
Could not load /__w/repo-name/repo-name/src/__vite-browser-external
I’m in the process of migrating our legacy frontend app from Create React App (CRA) to Vite. The transition has had its challenges, but I’m nearly done. Everything is up and running locally, and I’m able to build the app successfully on my machine. However, I’m encountering an issue when deploying the app through my GitHub Actions workflow. Specifically, I’m receiving the following error during the deployment job:
Manipulate import urls after build in ViteJS
I have a react application configured with ViteJs (vite and @vitejs/plugin-react).
I Managed to change base
path and it works correctly (I see <script src="/panel/client/assets/index-BHlWjozO.js"></script>
inside index.html after build)