Created
June 14, 2020 00:59
-
-
Save afifalfiano/ef003930b98402dd9ee5a61c316734ef to your computer and use it in GitHub Desktop.
File angular.json.bak dari ngBazel
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This is a backup file of the original angular.json. This file is needed in case you want to revert to the workflow without Bazel. | |
{ | |
"$schema": "./node_modules/@angular/cli/lib/config/schema.json", | |
"version": 1, | |
"newProjectRoot": "projects", | |
"projects": { | |
"ngBazel": { | |
"projectType": "application", | |
"schematics": {}, | |
"root": "", | |
"sourceRoot": "src", | |
"prefix": "app", | |
"architect": { | |
"build": { | |
"builder": "@angular-devkit/build-angular:browser", | |
"options": { | |
"outputPath": "dist/ngBazel", | |
"index": "src/index.html", | |
"main": "src/main.ts", | |
"polyfills": "src/polyfills.ts", | |
"tsConfig": "tsconfig.app.json", | |
"aot": true, | |
"assets": [ | |
"src/favicon.ico", | |
"src/assets" | |
], | |
"styles": [ | |
"src/styles.css" | |
], | |
"scripts": [] | |
}, | |
"configurations": { | |
"production": { | |
"fileReplacements": [ | |
{ | |
"replace": "src/environments/environment.ts", | |
"with": "src/environments/environment.prod.ts" | |
} | |
], | |
"optimization": true, | |
"outputHashing": "all", | |
"sourceMap": false, | |
"extractCss": true, | |
"namedChunks": false, | |
"extractLicenses": true, | |
"vendorChunk": false, | |
"buildOptimizer": true, | |
"budgets": [ | |
{ | |
"type": "initial", | |
"maximumWarning": "2mb", | |
"maximumError": "5mb" | |
}, | |
{ | |
"type": "anyComponentStyle", | |
"maximumWarning": "6kb", | |
"maximumError": "10kb" | |
} | |
] | |
} | |
} | |
}, | |
"serve": { | |
"builder": "@angular-devkit/build-angular:dev-server", | |
"options": { | |
"browserTarget": "ngBazel:build" | |
}, | |
"configurations": { | |
"production": { | |
"browserTarget": "ngBazel:build:production" | |
} | |
} | |
}, | |
"extract-i18n": { | |
"builder": "@angular-devkit/build-angular:extract-i18n", | |
"options": { | |
"browserTarget": "ngBazel:build" | |
} | |
}, | |
"test": { | |
"builder": "@angular-devkit/build-angular:karma", | |
"options": { | |
"main": "src/test.ts", | |
"polyfills": "src/polyfills.ts", | |
"tsConfig": "tsconfig.spec.json", | |
"karmaConfig": "karma.conf.js", | |
"assets": [ | |
"src/favicon.ico", | |
"src/assets" | |
], | |
"styles": [ | |
"src/styles.css" | |
], | |
"scripts": [] | |
} | |
}, | |
"lint": { | |
"builder": "@angular-devkit/build-angular:tslint", | |
"options": { | |
"tsConfig": [ | |
"tsconfig.app.json", | |
"tsconfig.spec.json", | |
"e2e/tsconfig.json" | |
], | |
"exclude": [ | |
"**/node_modules/**" | |
] | |
} | |
}, | |
"e2e": { | |
"builder": "@angular-devkit/build-angular:protractor", | |
"options": { | |
"protractorConfig": "e2e/protractor.conf.js", | |
"devServerTarget": "ngBazel:serve" | |
}, | |
"configurations": { | |
"production": { | |
"devServerTarget": "ngBazel:serve:production" | |
} | |
} | |
} | |
} | |
}}, | |
"defaultProject": "ngBazel" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment