|
| 1 | +{ |
| 2 | + "name": "bytebank", |
| 3 | + "$schema": "../../node_modules/nx/schemas/project-schema.json", |
| 4 | + "projectType": "application", |
| 5 | + "prefix": "app", |
| 6 | + "sourceRoot": "apps/bytebank/src", |
| 7 | + "tags": [], |
| 8 | + "targets": { |
| 9 | + "build": { |
| 10 | + "executor": "@nx/angular:webpack-browser", |
| 11 | + "outputs": ["{options.outputPath}"], |
| 12 | + "options": { |
| 13 | + "outputPath": "dist/apps/bytebank", |
| 14 | + "index": "apps/bytebank/src/index.html", |
| 15 | + "main": "apps/bytebank/src/main.ts", |
| 16 | + "polyfills": ["zone.js"], |
| 17 | + "tsConfig": "apps/bytebank/tsconfig.app.json", |
| 18 | + "inlineStyleLanguage": "scss", |
| 19 | + "assets": [ |
| 20 | + { |
| 21 | + "glob": "**/*", |
| 22 | + "input": "apps/bytebank/public" |
| 23 | + } |
| 24 | + ], |
| 25 | + "styles": ["apps/bytebank/src/styles.scss"], |
| 26 | + "scripts": [], |
| 27 | + "customWebpackConfig": { |
| 28 | + "path": "apps/bytebank/webpack.config.ts" |
| 29 | + } |
| 30 | + }, |
| 31 | + "configurations": { |
| 32 | + "production": { |
| 33 | + "budgets": [ |
| 34 | + { |
| 35 | + "type": "initial", |
| 36 | + "maximumWarning": "500kb", |
| 37 | + "maximumError": "1mb" |
| 38 | + }, |
| 39 | + { |
| 40 | + "type": "anyComponentStyle", |
| 41 | + "maximumWarning": "4kb", |
| 42 | + "maximumError": "8kb" |
| 43 | + } |
| 44 | + ], |
| 45 | + "outputHashing": "all", |
| 46 | + "customWebpackConfig": { |
| 47 | + "path": "apps/bytebank/webpack.prod.config.ts" |
| 48 | + } |
| 49 | + }, |
| 50 | + "development": { |
| 51 | + "buildOptimizer": false, |
| 52 | + "optimization": false, |
| 53 | + "vendorChunk": true, |
| 54 | + "extractLicenses": false, |
| 55 | + "sourceMap": true, |
| 56 | + "namedChunks": true |
| 57 | + } |
| 58 | + }, |
| 59 | + "defaultConfiguration": "production" |
| 60 | + }, |
| 61 | + "serve": { |
| 62 | + "executor": "@nx/angular:module-federation-dev-server", |
| 63 | + "options": { |
| 64 | + "port": 4200, |
| 65 | + "publicHost": "http://localhost:4200" |
| 66 | + }, |
| 67 | + "configurations": { |
| 68 | + "production": { |
| 69 | + "buildTarget": "bytebank:build:production" |
| 70 | + }, |
| 71 | + "development": { |
| 72 | + "buildTarget": "bytebank:build:development" |
| 73 | + } |
| 74 | + }, |
| 75 | + "defaultConfiguration": "development" |
| 76 | + }, |
| 77 | + "extract-i18n": { |
| 78 | + "executor": "@angular-devkit/build-angular:extract-i18n", |
| 79 | + "options": { |
| 80 | + "buildTarget": "bytebank:build" |
| 81 | + } |
| 82 | + }, |
| 83 | + "lint": { |
| 84 | + "executor": "@nx/eslint:lint" |
| 85 | + }, |
| 86 | + "serve-static": { |
| 87 | + "executor": "@nx/web:file-server", |
| 88 | + "options": { |
| 89 | + "buildTarget": "bytebank:build", |
| 90 | + "port": 4200, |
| 91 | + "spa": true |
| 92 | + } |
| 93 | + } |
| 94 | + } |
| 95 | +} |
0 commit comments