After updating react-scripts to version 4 I don't have any more service worker in the build directory.
Manifest is still there

Okay, I figured out that there is a change regarding this.
https://create-react-app.dev/docs/making-a-progressive-web-app/
Since CRA 4 the service worker is opt-in, so if someon want to update from older versions, need to create by himself service worker.
The easyest way is like this:
1 Create somewhere on your computer a new CRA with the service worker template:
npx create-react-app my-app --template cra-template-pwa
2 Copy the service-worker.js from the new created app into your src directory
3 Copy the "workbox-*" dependencies from the package.json into your package.json dependencies
4 (Optional) If you want web-vitals, copy the web-vitals dependency from package.json into your package.json
and don't forget to run again 'yarn install' or 'npm install'
Thats it
Most helpful comment
Okay, I figured out that there is a change regarding this.
https://create-react-app.dev/docs/making-a-progressive-web-app/
Since CRA 4 the service worker is opt-in, so if someon want to update from older versions, need to create by himself service worker.
The easyest way is like this:
1 Create somewhere on your computer a new CRA with the service worker template:
npx create-react-app my-app --template cra-template-pwa2 Copy the service-worker.js from the new created app into your src directory
3 Copy the "workbox-*" dependencies from the package.json into your package.json dependencies
4 (Optional) If you want web-vitals, copy the web-vitals dependency from package.json into your package.json
and don't forget to run again 'yarn install' or 'npm install'
Thats it