70 lines
1.8 KiB
JSON
70 lines
1.8 KiB
JSON
{
|
|
"name": "web-app",
|
|
"$schema": "node_modules/nx/schemas/project-schema.json",
|
|
"projectType": "application",
|
|
"prefix": "web-app",
|
|
"sourceRoot": "./src",
|
|
"tags": [],
|
|
"targets": {
|
|
"build": {
|
|
"executor": "@angular-devkit/build-angular:application",
|
|
"outputs": ["{options.outputPath}"],
|
|
"options": {
|
|
"outputPath": "dist/web-app",
|
|
"index": "./src/index.html",
|
|
"browser": "./src/main.ts",
|
|
"polyfills": ["zone.js"],
|
|
"tsConfig": "./tsconfig.app.json",
|
|
"inlineStyleLanguage": "scss",
|
|
"assets": ["./src/favicon.ico", "./src/assets"],
|
|
"styles": ["./src/styles.scss"],
|
|
"scripts": []
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"budgets": [
|
|
{
|
|
"type": "initial",
|
|
"maximumWarning": "500kb",
|
|
"maximumError": "1mb"
|
|
},
|
|
{
|
|
"type": "anyComponentStyle",
|
|
"maximumWarning": "2kb",
|
|
"maximumError": "4kb"
|
|
}
|
|
],
|
|
"outputHashing": "all"
|
|
},
|
|
"development": {
|
|
"optimization": false,
|
|
"extractLicenses": false,
|
|
"sourceMap": true
|
|
}
|
|
},
|
|
"defaultConfiguration": "production"
|
|
},
|
|
"serve": {
|
|
"executor": "@angular-devkit/build-angular:dev-server",
|
|
"options": {
|
|
"proxyConfig": "./proxy.conf.json"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"buildTarget": "web-app:build:production"
|
|
},
|
|
"development": {
|
|
"buildTarget": "web-app:build:development"
|
|
}
|
|
},
|
|
"defaultConfiguration": "development"
|
|
},
|
|
"extract-i18n": {
|
|
"executor": "@angular-devkit/build-angular:extract-i18n",
|
|
"options": {
|
|
"buildTarget": "web-app:build"
|
|
}
|
|
}
|
|
}
|
|
}
|