So I have an
Angular Universal SSR app which runs with node. The latest Angular and Universal versions as of 21/01/2021.
My hosting company allows me to run nodejs apps on my shared cPanel, so I would like to run my Angular app there. But the problem is they only accept the entry file
But when Angular SSR is built, it outputs this:
app-name -> browser - (all the browser files.) -> server -> main.js
Is it possible to output the
ng build:ssr to this:
app-name -> browser - (all the browser files.) -> app.js
Then when I run the app it runs the default app.js entry file.
Source: Angular Questions