소스 검색

build: environments

master
Florian Eisenmenger 1 년 전
부모
커밋
c9ccaf490e
2개의 변경된 파일14개의 추가작업 그리고 3개의 파일을 삭제
  1. +9
    -3
      matsen-tool/angular.json
  2. +5
    -0
      matsen-tool/src/environments/environment.development.ts

+ 9
- 3
matsen-tool/angular.json 파일 보기

@@ -51,8 +51,8 @@
"budgets": [
{
"type": "initial",
"maximumWarning": "500kb",
"maximumError": "1mb"
"maximumWarning": "1mb",
"maximumError": "2mb"
},
{
"type": "anyComponentStyle",
@@ -65,7 +65,13 @@
"development": {
"optimization": false,
"extractLicenses": false,
"sourceMap": true
"sourceMap": true,
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.development.ts"
}
]
}
},
"defaultConfiguration": "production"


+ 5
- 0
matsen-tool/src/environments/environment.development.ts 파일 보기

@@ -0,0 +1,5 @@
export const environment = {
production: false,
basePath: 'https://matsen-api.spawntree.de',
apiUrl: 'https://matsen-api.spawntree.de/api'
};

불러오는 중...
취소
저장