1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-04 09:01:01 +01:00
bitwarden-browser/angular.json
2022-06-16 20:41:22 +02:00

82 lines
2.5 KiB
JSON

{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "apps",
"projects": {
"components": {
"projectType": "application",
"schematics": {
"@schematics/angular:application": {
"strict": true
}
},
"root": "./libs/components",
"sourceRoot": "libs/components/src",
"prefix": "components",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "dist/components",
"index": "libs/components/src/index.html",
"main": "libs/components/src/main.ts",
"polyfills": "libs/components/src/polyfills.ts",
"tsConfig": "libs/components/tsconfig.app.json",
"assets": ["libs/components/src/favicon.ico", "libs/components/src/assets"],
"styles": ["libs/components/src/styles.scss", "libs/components/src/styles.css"],
"stylePreprocessorOptions": {
"includePaths": ["libs/components/src/styles"]
},
"scripts": []
},
"configurations": {
"production": {
"budgets": [
{
"type": "initial",
"maximumWarning": "500kb",
"maximumError": "1mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "2kb",
"maximumError": "4kb"
}
],
"outputHashing": "all"
},
"development": {
"buildOptimizer": false,
"optimization": false,
"vendorChunk": true,
"extractLicenses": false,
"sourceMap": true,
"namedChunks": true
}
},
"defaultConfiguration": "production"
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"configurations": {
"production": {
"browserTarget": "components:build:production"
},
"development": {
"browserTarget": "components:build:development"
}
},
"defaultConfiguration": "development"
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "components:build"
}
}
}
}
},
"defaultProject": "components"
}