diff --git a/angular.json b/angular.json index ecdcac3..72348f2 100644 --- a/angular.json +++ b/angular.json @@ -29,11 +29,27 @@ "glob": "**/*.svg", "input": "node_modules/ionicons/dist/ionicons/svg", "output": "./svg" + }, + { + "glob": "serve.json", + "input": "src", + "output": "/" + }, + { + "glob": "serve.json", + "input": "src", + "output": "/" } ], - "styles": ["src/global.scss", "src/theme/variables.scss"], + "styles": [ + "src/global.scss", + "src/theme/variables.scss" + ], "scripts": [], - "allowedCommonJsDependencies": ["sdp", "webrtc-adapter"] + "allowedCommonJsDependencies": [ + "sdp", + "webrtc-adapter" + ] }, "configurations": { "production": { @@ -112,7 +128,10 @@ "output": "./svg" } ], - "styles": ["src/global.scss", "src/theme/variables.scss"], + "styles": [ + "src/global.scss", + "src/theme/variables.scss" + ], "scripts": [] }, "configurations": { @@ -148,4 +167,4 @@ "styleext": "scss" } } -} +} \ No newline at end of file diff --git a/src/serve.json b/src/serve.json new file mode 100644 index 0000000..2775383 --- /dev/null +++ b/src/serve.json @@ -0,0 +1,5 @@ +{ + "rewrites": [ + { "source": "/**", "destination": "/index.html" } + ] +}