DEV Community

Muhammad
Muhammad

Posted on

Does react build command automatically put all files inside public folder to inside build folder?

Yes, by default, when you run npm run build , the create-react-app build process will copy all files in the public folder to the build folder when creating a production build. This includes any HTML files, images, or other static assets that are placed in the public folder.

Top comments (0)