Skip to content

Commit

Permalink
Rebuild UI assets.
Browse files Browse the repository at this point in the history
  • Loading branch information
zyro committed Jul 23, 2023
1 parent 6e9bede commit eff9544
Show file tree
Hide file tree
Showing 14 changed files with 11 additions and 9 deletions.
11 changes: 6 additions & 5 deletions console/ui/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "tsconfig.app.json",
"aot": true,
"assets": [
"src/favicon.ico",
"src/static"
Expand All @@ -48,7 +49,7 @@
"configurations": {
"production": {
"outputPath": "dist/prod",
"baseHref": "/",
"deployUrl": "static/",
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
Expand All @@ -66,7 +67,7 @@
{
"type": "initial",
"maximumWarning": "2mb",
"maximumError": "3mb"
"maximumError": "10mb"
},
{
"type": "anyComponentStyle",
Expand All @@ -77,7 +78,7 @@
},
"production-nt": {
"outputPath": "dist/prod-nt",
"baseHref": "/",
"deployUrl": "static/",
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
Expand All @@ -95,7 +96,7 @@
{
"type": "initial",
"maximumWarning": "2mb",
"maximumError": "3mb"
"maximumError": "10mb"
},
{
"type": "anyComponentStyle",
Expand All @@ -105,7 +106,7 @@
]
}
},
"defaultConfiguration": ""
"defaultConfiguration": "production"
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
Expand Down
4 changes: 2 additions & 2 deletions console/ui/dist/prod-nt/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions console/ui/dist/prod/index.html

Large diffs are not rendered by default.

File renamed without changes.
1 change: 1 addition & 0 deletions console/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"ng": "ng",
"start": "ng serve",
"build": "ng build --configuration production && ng build --configuration=production-nt",
"postbuild": "mv dist/prod/*.js dist/prod/*.css dist/prod/*.txt dist/prod/static/ && mv dist/prod-nt/*.js dist/prod-nt/*.css dist/prod-nt/*.txt dist/prod-nt/static/",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e"
Expand Down

0 comments on commit eff9544

Please sign in to comment.