I'm using Vite with React. Can someone explain me how I can change the index.html build path that after the build it will be in a different path than the rest of files?
Here's my file structure. I want these files inside of resources/core folder and get structure looks like this after the build. So basically: outside of src folder, on top of the structure files:
- resource --> core --> resource.cfg, server folder (with server.js) and client folder with: client.js, cef folder with: main.jsx && index.html after transpilation.
And one more thing: to copy other files (not related with React files, such as server/server.js or client/client.js), I know I have to create a public folder and after the build Vite should put these inside of build folder. That's right?