Skip to content

Exclude some paths while building for production #2804

Closed
@arajajyothibabu

Description

@arajajyothibabu

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions