Skip to content

Commit 532950c

Browse files
authored
Merge pull request #7 from actionanand/feature/2-refactor
feat: add environment configuration for development mode with file re…
2 parents 644e9a2 + f3d6bd1 commit 532950c

3 files changed

Lines changed: 9 additions & 1 deletion

File tree

angular.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,13 @@
5252
"development": {
5353
"optimization": false,
5454
"extractLicenses": false,
55-
"sourceMap": true
55+
"sourceMap": true,
56+
"fileReplacements": [
57+
{
58+
"replace": "src/environments/environment.ts",
59+
"with": "src/environments/environment.development.ts"
60+
}
61+
]
5662
}
5763
},
5864
"defaultConfiguration": "production"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export const environment = {};

src/environments/environment.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export const environment = {};

0 commit comments

Comments
 (0)