-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Pre-compiled source code ( pre-minified ) can be seen on Chrome Sources #1600
Comments
Are you referring to source maps? |
https://github.com/kriasoft/react-starter-kit/issues/1415 answered my question. |
You can use In the docs of react-starter:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
So I have tried to use
yarn run build -- --release
to build my app on my EC2 instance (Ubuntu) using Nginx web server , while I rannode server.js
I know it's running on my server and I can browse the page from my domain, but I can also inspect all the source code that are unminimized (from my server root path), I inspected using Chrome.I supposed this is a release version, shouldn't all js source code have been optimized and minimized after running the
build
command?The text was updated successfully, but these errors were encountered: