I came across this requirement where I have to exclude some folders from public directory in production build (npm run build).
Is there any option to exclude some paths say
build: "react-scripts build --exclude=public/data",
Or else any other way around to achieve this ?
Thank you