feat: add environment configurations for development and production
This commit is contained in:
parent
3403dd4556
commit
4c51aaae3c
4 changed files with 12 additions and 1 deletions
|
@ -50,7 +50,13 @@
|
||||||
"development": {
|
"development": {
|
||||||
"optimization": false,
|
"optimization": false,
|
||||||
"extractLicenses": false,
|
"extractLicenses": false,
|
||||||
"sourceMap": true
|
"sourceMap": true,
|
||||||
|
"fileReplacements": [
|
||||||
|
{
|
||||||
|
"replace": "src/environments/environment.ts",
|
||||||
|
"with": "src/environments/environment.development.ts"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"defaultConfiguration": "production"
|
"defaultConfiguration": "production"
|
||||||
|
|
3
src/environments/environment.development.ts
Normal file
3
src/environments/environment.development.ts
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
export const environment = {
|
||||||
|
POCKETBASE: 'http://pocketbase-yocs0oko0o8cws44kw8gk8g8.192.168.178.105.sslip.io/'
|
||||||
|
};
|
1
src/environments/environment.production.ts
Normal file
1
src/environments/environment.production.ts
Normal file
|
@ -0,0 +1 @@
|
||||||
|
export const environment = {};
|
1
src/environments/environment.ts
Normal file
1
src/environments/environment.ts
Normal file
|
@ -0,0 +1 @@
|
||||||
|
export const environment = {};
|
Loading…
Add table
Reference in a new issue