|
| 1 | +{ |
| 2 | + "root": "apps/webapp", |
| 3 | + "sourceRoot": "apps/webapp/src", |
| 4 | + "projectType": "application", |
| 5 | + "generators": {}, |
| 6 | + "targets": { |
| 7 | + "build": { |
| 8 | + "executor": "@nrwl/web:webpack", |
| 9 | + "options": { |
| 10 | + "outputPath": "dist/apps/webapp", |
| 11 | + "index": "apps/webapp/src/index.html", |
| 12 | + "main": "apps/webapp/src/main.tsx", |
| 13 | + "polyfills": "apps/webapp/src/polyfills.ts", |
| 14 | + "tsConfig": "apps/webapp/tsconfig.app.json", |
| 15 | + "assets": ["apps/webapp/src/favicon.ico", "apps/webapp/src/assets"], |
| 16 | + "styles": ["apps/webapp/src/styles.scss"], |
| 17 | + "scripts": [], |
| 18 | + "webpackConfig": "@nrwl/react/plugins/webpack", |
| 19 | + "showCircularDependencies": false, |
| 20 | + "maxWorkers": 2, |
| 21 | + "memoryLimit": 1024 |
| 22 | + }, |
| 23 | + "configurations": { |
| 24 | + "production": { |
| 25 | + "fileReplacements": [ |
| 26 | + { |
| 27 | + "replace": "apps/webapp/src/environments/environment.ts", |
| 28 | + "with": "apps/webapp/src/environments/environment.prod.ts" |
| 29 | + } |
| 30 | + ], |
| 31 | + "optimization": true, |
| 32 | + "outputHashing": "all", |
| 33 | + "sourceMap": false, |
| 34 | + "extractCss": true, |
| 35 | + "namedChunks": false, |
| 36 | + "extractLicenses": true, |
| 37 | + "vendorChunk": false, |
| 38 | + "budgets": [ |
| 39 | + { |
| 40 | + "type": "initial", |
| 41 | + "maximumWarning": "2mb", |
| 42 | + "maximumError": "5mb" |
| 43 | + } |
| 44 | + ] |
| 45 | + } |
| 46 | + }, |
| 47 | + "outputs": ["{options.outputPath}"] |
| 48 | + }, |
| 49 | + "serve": { |
| 50 | + "executor": "@nrwl/web:dev-server", |
| 51 | + "options": { |
| 52 | + "buildTarget": "webapp:build" |
| 53 | + }, |
| 54 | + "configurations": { |
| 55 | + "production": { |
| 56 | + "buildTarget": "webapp:build:production" |
| 57 | + } |
| 58 | + } |
| 59 | + }, |
| 60 | + "lint": { |
| 61 | + "executor": "@nrwl/linter:eslint", |
| 62 | + "options": { |
| 63 | + "lintFilePatterns": ["apps/webapp/**/*.{ts,tsx,js,jsx}"] |
| 64 | + }, |
| 65 | + "outputs": ["{options.outputFile}"] |
| 66 | + }, |
| 67 | + "test": { |
| 68 | + "executor": "@nrwl/jest:jest", |
| 69 | + "options": { |
| 70 | + "jestConfig": "apps/webapp/jest.config.js", |
| 71 | + "passWithNoTests": true |
| 72 | + }, |
| 73 | + "outputs": ["coverage/apps/webapp"] |
| 74 | + } |
| 75 | + }, |
| 76 | + "tags": [] |
| 77 | +} |
0 commit comments