dev-config

This commit is contained in:
Taric Xin
2021-12-23 15:35:45 +08:00
parent 716bbea97c
commit 6ee9324cdb
26 changed files with 609 additions and 265 deletions

View File

@ -63,6 +63,22 @@
}
]
},
"dev": {
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/eascs/environment.dev.ts"
}
],
"outputHashing": "all",
"budgets": [
{
"type": "initial",
"maximumWarning": "4mb",
"maximumError": "10mb"
}
]
},
"development": {
"buildOptimizer": false,
"optimization": false,
@ -84,6 +100,9 @@
"production": {
"browserTarget": "ng-alain:build:production"
},
"dev": {
"browserTarget": "app:build:dev"
},
"development": {
"browserTarget": "ng-alain:build:development"
}
@ -131,6 +150,9 @@
"configurations": {
"production": {
"devServerTarget": "ng-alain:serve:production"
},
"dev": {
"devServerTarget": "app:build:dev"
}
}
}
@ -138,4 +160,4 @@
}
},
"defaultProject": "ng-alain"
}
}