I'm using Angular Universal 10 and I want to prerender my site.
I'm confused on the proper build process for a production environment.
Angular gives these two commands:
"build:ssr": "ng build --prod && ng run my-app.spa:server:production",
"prerender": "ng run my-app.spa:prerender"
Is it enough to just do this to get a production ready output?
npm run prerender
Or do I need to run both of these?
npm run build:ssr
npm run prerender
What's the difference?