mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-06 09:20:43 +01:00
82 lines
2.4 KiB
JSON
82 lines
2.4 KiB
JSON
|
{
|
||
|
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
||
|
"version": 1,
|
||
|
"newProjectRoot": "projects",
|
||
|
"projects": {
|
||
|
"components": {
|
||
|
"projectType": "application",
|
||
|
"schematics": {
|
||
|
"@schematics/angular:application": {
|
||
|
"strict": true
|
||
|
}
|
||
|
},
|
||
|
"root": "",
|
||
|
"sourceRoot": "src",
|
||
|
"prefix": "app",
|
||
|
"architect": {
|
||
|
"build": {
|
||
|
"builder": "@angular-devkit/build-angular:browser",
|
||
|
"options": {
|
||
|
"outputPath": "dist/components",
|
||
|
"index": "src/index.html",
|
||
|
"main": "src/main.ts",
|
||
|
"polyfills": "src/polyfills.ts",
|
||
|
"tsConfig": "tsconfig.app.json",
|
||
|
"assets": ["src/favicon.ico", "src/assets"],
|
||
|
"styles": ["src/styles.scss", "src/styles.css"],
|
||
|
"stylePreprocessorOptions": {
|
||
|
"includePaths": ["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"
|
||
|
}
|