Skip to content

Commit

Permalink
CSCEXAM-000 Experiment with the new app builder
Browse files Browse the repository at this point in the history
  • Loading branch information
lupari committed Aug 15, 2024
1 parent c97c326 commit bd36fa2
Show file tree
Hide file tree
Showing 19 changed files with 4,949 additions and 4,279 deletions.
15 changes: 8 additions & 7 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,25 +18,27 @@
"prefix": "xm",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser-esbuild",
"builder": "@angular-devkit/build-angular:application",
"options": {
"outputPath": "dist/exam",
"outputPath": {
"base": "dist/exam"
},
"index": "ui/src/index.html",
"main": "ui/src/main.ts",
"polyfills": ["@angular/localize/init", "ui/src/polyfills.ts"],
"tsConfig": "ui/tsconfig.app.json",
"inlineStyleLanguage": "scss",
"assets": ["ui/src/favicon.ico", "ui/src/assets"],
"styles": ["ui/src/styles.scss"],
"scripts": []
"scripts": [],
"browser": "ui/src/main.ts"
},
"configurations": {
"production": {
"budgets": [
{
"type": "initial",
"maximumWarning": "2.2mb",
"maximumError": "2.3mb"
"maximumWarning": "1.6mb",
"maximumError": "2mb"
},
{
"type": "anyComponentStyle",
Expand All @@ -58,7 +60,6 @@
"sourceMap": true
},
"development": {
"buildOptimizer": false,
"optimization": false,
"extractLicenses": false,
"sourceMap": true,
Expand Down
20 changes: 0 additions & 20 deletions app/controllers/assets/ScriptController.scala

This file was deleted.

20 changes: 13 additions & 7 deletions conf/application.conf
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,19 @@ database.dispatcher {
play.ws.timeout.connection = "10s"

# CORS configuration, enable and configure at will
#play.filters.cors {
# pathPrefixes = ["/some/path", ...]
# allowedOrigins = ["http://www.example.com", ...]
# allowedHttpMethods = ["GET", "POST"]
# allowedHttpHeaders = ["Accept"]
# preflightMaxAge = 3 days
#}
# play.filters.cors {
# pathPrefixes = ["/some/path", ...]
# allowedOrigins = ["http://www.example.com", ...]
# allowedHttpMethods = ["GET", "POST"]
# allowedHttpHeaders = ["Accept"]
# preflightMaxAge = 3 days
# }

# Static assets path
play.assets {
path = "/public/browser"
urlPrefix = "/assets"
}

########################################################################################################################
# EXAM specific configurations. Feel free to configure.
Expand Down
Loading

0 comments on commit bd36fa2

Please sign in to comment.