Add serve.json for URL rewrites; update angular.json for formatting and structure
This commit is contained in:
27
angular.json
27
angular.json
@@ -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": {
|
||||||
@@ -148,4 +167,4 @@
|
|||||||
"styleext": "scss"
|
"styleext": "scss"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
5
src/serve.json
Normal file
5
src/serve.json
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"rewrites": [
|
||||||
|
{ "source": "/**", "destination": "/index.html" }
|
||||||
|
]
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user