Add serve.json for URL rewrites; update angular.json for formatting and structure

This commit is contained in:
Dimas Wiese
2026-03-16 00:34:06 +01:00
parent 57fe63ef1f
commit d27c8382de
2 changed files with 28 additions and 4 deletions

View File

@@ -29,11 +29,27 @@
"glob": "**/*.svg", "glob": "**/*.svg",
"input": "node_modules/ionicons/dist/ionicons/svg", "input": "node_modules/ionicons/dist/ionicons/svg",
"output": "./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": [], "scripts": [],
"allowedCommonJsDependencies": ["sdp", "webrtc-adapter"] "allowedCommonJsDependencies": [
"sdp",
"webrtc-adapter"
]
}, },
"configurations": { "configurations": {
"production": { "production": {
@@ -112,7 +128,10 @@
"output": "./svg" "output": "./svg"
} }
], ],
"styles": ["src/global.scss", "src/theme/variables.scss"], "styles": [
"src/global.scss",
"src/theme/variables.scss"
],
"scripts": [] "scripts": []
}, },
"configurations": { "configurations": {

5
src/serve.json Normal file
View File

@@ -0,0 +1,5 @@
{
"rewrites": [
{ "source": "/**", "destination": "/index.html" }
]
}