Each time I try to build a production build for my Angular app and my Express server I get the following error when serving the "dist/index.html" from my Express app.
[runtime.bb63d4117a63cb294f06.js:1] Uncaught SyntaxError: Unexpected token '<'
For context, I am working in an NX Workspace, my local version of Angular is 10.1.0 and Nrwl packages are at 10.3.1.
Can anyone help me out with this? I have absolutely no idea where to start.
Source: Angular Questions