Skip to content

Commit

Permalink
Configured angular.json to replace env.ts file while building web app
Browse files Browse the repository at this point in the history
  • Loading branch information
SameerKhurd committed May 17, 2024
1 parent f3d3949 commit 3e7de18
Showing 1 changed file with 12 additions and 21 deletions.
33 changes: 12 additions & 21 deletions frontend/algo-bytes-web-app/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,22 +20,21 @@
"outputPath": "dist/algo-bytes-web-app",
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": [
"zone.js"
],
"polyfills": ["zone.js"],
"tsConfig": "tsconfig.app.json",
"inlineStyleLanguage": "scss",
"assets": [
"src/favicon.ico",
"src/assets"
],
"styles": [
"src/styles.scss"
],
"assets": ["src/favicon.ico", "src/assets"],
"styles": ["src/styles.scss"],
"scripts": []
},
"configurations": {
"production": {
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.ts"
}
],
"budgets": [
{
"type": "initial",
Expand Down Expand Up @@ -82,19 +81,11 @@
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"polyfills": [
"zone.js",
"zone.js/testing"
],
"polyfills": ["zone.js", "zone.js/testing"],
"tsConfig": "tsconfig.spec.json",
"inlineStyleLanguage": "scss",
"assets": [
"src/favicon.ico",
"src/assets"
],
"styles": [
"src/styles.scss"
],
"assets": ["src/favicon.ico", "src/assets"],
"styles": ["src/styles.scss"],
"scripts": []
}
}
Expand Down

0 comments on commit 3e7de18

Please sign in to comment.