Skip to content
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

Not split the vendor code and app code after updating v5.0.0 #11903

Open
heroboy opened this issue Jan 10, 2022 · 1 comment
Open

Not split the vendor code and app code after updating v5.0.0 #11903

heroboy opened this issue Jan 10, 2022 · 1 comment

Comments

@heroboy
Copy link

heroboy commented Jan 10, 2022

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.)

@heroboy
Copy link
Author

heroboy commented Jan 10, 2022

maybe #11763

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant