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",
"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"
}
}
}
}

5
src/serve.json Normal file
View File

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