We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
According to this, and my previous create-react-app@4.0.3: https://create-react-app.dev/docs/production-build#static-file-caching
create-react-app@4.0.3
After build, it will generate three js files. But now , only main.[hash].js is generated.
main.[hash].js
No. I just run npm i -s react-scripts@5.0.0
npm i -s react-scripts@5.0.0
vendor code
Environment Info:
current version of create-react-app: 5.0.0 running from C:\Users\heroboy\AppData\Roaming\npm\node_modules\create-react-app
System: OS: Windows 10 10.0.19042 CPU: (8) x64 Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz Binaries: Node: 17.2.0 - C:\Program Files\nodejs\node.EXE Yarn: Not Found npm: 6.14.8 - C:\Program Files\nodejs\npm.CMD Browsers: Chrome: 97.0.4692.71 Edge: Spartan (44.19041.1266.0), Chromium (97.0.1072.55) Internet Explorer: 11.0.19041.1202 npmPackages: react: ^17.0.1 => 17.0.1 react-dom: ^17.0.1 => 17.0.1 react-scripts: 5.0.0 => 5.0.0 npmGlobalPackages: create-react-app: Not Found
(paste the output of the command here.)
(Write your steps here:)
(Write what you thought would happen.)
(Write what happened. Please add screenshots!)
(Paste the link to an example project and exact instructions to reproduce the issue.)
The text was updated successfully, but these errors were encountered:
maybe #11763
Sorry, something went wrong.
No branches or pull requests
Describe the bug
According to this, and my previous
create-react-app@4.0.3
:https://create-react-app.dev/docs/production-build#static-file-caching
After build, it will generate three js files.
But now , only
main.[hash].js
is generated.Did you try recovering your dependencies?
No. I just run
npm i -s react-scripts@5.0.0
Which terms did you search for in User Guide?
vendor code
Environment
Environment Info:
current version of create-react-app: 5.0.0
running from C:\Users\heroboy\AppData\Roaming\npm\node_modules\create-react-app
System:
OS: Windows 10 10.0.19042
CPU: (8) x64 Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz
Binaries:
Node: 17.2.0 - C:\Program Files\nodejs\node.EXE
Yarn: Not Found
npm: 6.14.8 - C:\Program Files\nodejs\npm.CMD
Browsers:
Chrome: 97.0.4692.71
Edge: Spartan (44.19041.1266.0), Chromium (97.0.1072.55)
Internet Explorer: 11.0.19041.1202
npmPackages:
react: ^17.0.1 => 17.0.1
react-dom: ^17.0.1 => 17.0.1
react-scripts: 5.0.0 => 5.0.0
npmGlobalPackages:
create-react-app: Not Found
(paste the output of the command here.)
Steps to reproduce
(Write your steps here:)
Expected behavior
(Write what you thought would happen.)
Actual behavior
(Write what happened. Please add screenshots!)
Reproducible demo
(Paste the link to an example project and exact instructions to reproduce the issue.)
The text was updated successfully, but these errors were encountered: