-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unoptimized build for "react-scripts build" #1960
Comments
Currently, no. react-scripts build is optimized to output an optimized production static files, which means uglifying, dedupe, .etc. Also, I'm curious about your build setup, shouldn't react-scripts build run locally / CI server? your production server shouldn't ever run it. It should just serve the optimized build. |
See #1070 for more info |
Yea, this is pretty much the same request as #1070 so let’s close in favor of that. |
@viankakrisna Perfect! I use react-script build as part of another build process of my web app. I want to run react-app in development mode when i build whole my app in development mode. |
You can run |
I'm using "react-scripts build" as part of a workflow with an express server that relies on running "react-scripts build" on deploy. Is there a way to speed up build times for the build script, by running a "--debug" or "--unoptimized" flag?
The text was updated successfully, but these errors were encountered: