Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

angular.json

140 lines3.6 KB

1{
2 "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3 "version": 1,
4 "cli": {
5 "packageManager": "pnpm",
6 "analytics": false,
7 "cache": {
8 "enabled": false
9 }
10 },
11 "newProjectRoot": "projects",
12 "projects": {
13 "ssr": {
14 "projectType": "application",
15 "schematics": {
16 "@schematics/angular:component": {
17 "inlineTemplate": true,
18 "inlineStyle": true,
19 "skipTests": true
20 },
21 "@schematics/angular:class": {
22 "skipTests": true
23 },
24 "@schematics/angular:directive": {
25 "skipTests": true
26 },
27 "@schematics/angular:guard": {
28 "skipTests": true
29 },
30 "@schematics/angular:interceptor": {
31 "skipTests": true
32 },
33 "@schematics/angular:pipe": {
34 "skipTests": true
35 },
36 "@schematics/angular:resolver": {
37 "skipTests": true
38 },
39 "@schematics/angular:service": {
40 "skipTests": true
41 }
42 },
43 "root": "",
44 "sourceRoot": "src",
45 "prefix": "app",
46 "architect": {
47 "build": {
48 "builder": "@angular/build:application",
49 "options": {
50 "outputPath": "dist/ssr",
51 "index": "src/index.html",
52 "browser": "src/main.ts",
53 "polyfills": ["zone.js"],
54 "tsConfig": "tsconfig.app.json",
55 "styles": ["src/styles.css"],
56 "scripts": [],
57 "server": "src/main.server.ts",
58 "outputMode": "server",
59 "security": {
60 "allowedHosts": ["localhost", "127.0.0.1"]
61 },
62 "ssr": {
63 "entry": "src/server.ts"
64 }
65 },
66 "configurations": {
67 "production": {
68 "budgets": [
69 {
70 "type": "initial",
71 "maximumWarning": "500kb",
72 "maximumError": "1mb"
73 },
74 {
75 "type": "anyComponentStyle",
76 "maximumWarning": "2kb",
77 "maximumError": "4kb"
78 }
79 ],
80 "outputHashing": "all"
81 },
82 "development": {
83 "optimization": false,
84 "extractLicenses": false,
85 "sourceMap": true
86 }
87 },
88 "defaultConfiguration": "production"
89 },
90 "serve": {
91 "builder": "@angular/build:dev-server",
92 "options": {
93 "prebundle": { "exclude": ["@angular"] }
94 },
95 "configurations": {
96 "production": {
97 "buildTarget": "ssr:build:production"
98 },
99 "development": {
100 "buildTarget": "ssr:build:development"
101 }
102 },
103 "defaultConfiguration": "development"
104 },
105 "extract-i18n": {
106 "builder": "@angular/build:extract-i18n",
107 "options": {
108 "buildTarget": "ssr:build"
109 }
110 }
111 }
112 }
113 },
114 "schematics": {
115 "@schematics/angular:component": {
116 "type": "component"
117 },
118 "@schematics/angular:directive": {
119 "type": "directive"
120 },
121 "@schematics/angular:service": {
122 "type": "service"
123 },
124 "@schematics/angular:guard": {
125 "typeSeparator": "."
126 },
127 "@schematics/angular:interceptor": {
128 "typeSeparator": "."
129 },
130 "@schematics/angular:module": {
131 "typeSeparator": "."
132 },
133 "@schematics/angular:pipe": {
134 "typeSeparator": "."
135 },
136 "@schematics/angular:resolver": {
137 "typeSeparator": "."
138 }
139 }