I'm going crazy over this, when I type
ng serve --configuration production ```
everything gets displayed as expected. But when I try to put the dist code, on an apache server or even using `http-server` in the directory, it gives me thing instead. I can't see any visible problem with the code! and this is the `angular.json` build options:
```json
"preserveSymlinks": true,
"inlineStyleLanguage": "scss",
"outputPath": "dist",
"baseHref": "/MPhone/",
"index": "src/index.html",
"main": "src/main.ts",
"tsConfig": "src/tsconfig.app.json",
"polyfills": "src/polyfills.ts",
"assets": ["src/assets", "src/favicon.ico", "src/favicon.png"],
"styles": [
"node_modules/bootstrap/dist/css/bootstrap.css",
"node_modules/@fortawesome/fontawesome-free/css/all.css",
"node_modules/pace-js/templates/pace-theme-flash.tmpl.css",
"src/app/@theme/styles/styles.scss"
],
"scripts": ["node_modules/pace-js/pace.min.js"],
"allowedCommonJsDependencies": [
"angular2-chartjs",
"echarts",
"lodash",
"zrender/lib/svg/svg",
"zrender/lib/vml/vml"
],
"vendorChunk": true,
"extractLicenses": false,
"buildOptimizer": true,
"sourceMap": false,
"optimization": true,
"namedChunks": true