react-gh-pages
react-gh-pages copied to clipboard
Tutorial does not indicate that Vite would store the build in `dist` instead of `build`
Explanation: In my case, I was using Vite to create my React app. So by running npm run deploy, vite created a 'dist' folder for the production. But "deploy": "gh-pages -d build" is watching for the build folder. Now gh-pages will look for dist folder before deployment.
I think the docs should be updated as many people are using vite now
My man, I use vite too and had the same problem. Just solved it
Use "dist" instead of "build" property in package.json
My my, I use vite too and had the same problem. Just solved it Use "dist" instead of "build" property in package.json
You are a life saver... this should be noted somewhere in docs or resolved