|
7 | 7 | "projectType": "application", |
8 | 8 | "schematics": { |
9 | 9 | "@schematics/angular:component": { |
10 | | - "style": "scss" |
| 10 | + "style": "scss", |
| 11 | + "standalone": false |
| 12 | + }, |
| 13 | + "@schematics/angular:directive": { |
| 14 | + "standalone": false |
| 15 | + }, |
| 16 | + "@schematics/angular:pipe": { |
| 17 | + "standalone": false |
11 | 18 | } |
12 | 19 | }, |
13 | 20 | "root": "", |
14 | 21 | "sourceRoot": "src", |
15 | 22 | "prefix": "app", |
16 | 23 | "architect": { |
17 | 24 | "build": { |
18 | | - "builder": "@angular-devkit/build-angular:browser", |
| 25 | + "builder": "@angular-devkit/build-angular:application", |
19 | 26 | "options": { |
20 | | - "outputPath": "dist/b2bspastore/browser", |
| 27 | + "outputPath": "dist/b2bspastore", |
21 | 28 | "index": "src/index.html", |
22 | | - "main": "src/main.ts", |
| 29 | + "browser": "src/main.ts", |
23 | 30 | "polyfills": [ |
24 | 31 | "zone.js" |
25 | 32 | ], |
|
45 | 52 | "src/styles/spartacus/product.scss" |
46 | 53 | ], |
47 | 54 | "scripts": [], |
| 55 | + "server": "src/main.server.ts", |
| 56 | + "prerender": false, |
| 57 | + "ssr": { |
| 58 | + "entry": "server.ts" |
| 59 | + }, |
48 | 60 | "stylePreprocessorOptions": { |
49 | 61 | "includePaths": [ |
50 | 62 | "node_modules/" |
|
68 | 80 | "outputHashing": "all" |
69 | 81 | }, |
70 | 82 | "development": { |
71 | | - "buildOptimizer": false, |
72 | 83 | "optimization": false, |
73 | | - "vendorChunk": true, |
74 | 84 | "extractLicenses": false, |
75 | | - "sourceMap": true, |
76 | | - "namedChunks": true |
| 85 | + "sourceMap": true |
| 86 | + }, |
| 87 | + "noSsr": { |
| 88 | + "ssr": false, |
| 89 | + "prerender": false |
77 | 90 | } |
78 | 91 | }, |
79 | 92 | "defaultConfiguration": "production" |
|
82 | 95 | "builder": "@angular-devkit/build-angular:dev-server", |
83 | 96 | "configurations": { |
84 | 97 | "production": { |
85 | | - "browserTarget": "b2bspastore:build:production" |
| 98 | + "buildTarget": "b2bspastore:build:production,noSsr" |
86 | 99 | }, |
87 | 100 | "development": { |
88 | | - "browserTarget": "b2bspastore:build:development" |
| 101 | + "buildTarget": "b2bspastore:build:development,noSsr" |
89 | 102 | } |
90 | 103 | }, |
91 | 104 | "defaultConfiguration": "development" |
92 | 105 | }, |
93 | 106 | "extract-i18n": { |
94 | 107 | "builder": "@angular-devkit/build-angular:extract-i18n", |
95 | 108 | "options": { |
96 | | - "browserTarget": "b2bspastore:build" |
| 109 | + "buildTarget": "b2bspastore:build" |
97 | 110 | } |
98 | 111 | }, |
99 | 112 | "test": { |
|
131 | 144 | ] |
132 | 145 | } |
133 | 146 | } |
134 | | - }, |
135 | | - "server": { |
136 | | - "builder": "@angular-devkit/build-angular:server", |
137 | | - "options": { |
138 | | - "outputPath": "dist/b2bspastore/server", |
139 | | - "main": "server.ts", |
140 | | - "tsConfig": "tsconfig.server.json", |
141 | | - "stylePreprocessorOptions": { |
142 | | - "includePaths": [ |
143 | | - "node_modules/" |
144 | | - ] |
145 | | - }, |
146 | | - "inlineStyleLanguage": "scss" |
147 | | - }, |
148 | | - "configurations": { |
149 | | - "production": { |
150 | | - "outputHashing": "media" |
151 | | - }, |
152 | | - "development": { |
153 | | - "optimization": false, |
154 | | - "sourceMap": true, |
155 | | - "extractLicenses": false, |
156 | | - "vendorChunk": true |
157 | | - } |
158 | | - }, |
159 | | - "defaultConfiguration": "production" |
160 | | - }, |
161 | | - "serve-ssr": { |
162 | | - "builder": "@nguniversal/builders:ssr-dev-server", |
163 | | - "configurations": { |
164 | | - "development": { |
165 | | - "browserTarget": "b2bspastore:build:development", |
166 | | - "serverTarget": "b2bspastore:server:development" |
167 | | - }, |
168 | | - "production": { |
169 | | - "browserTarget": "b2bspastore:build:production", |
170 | | - "serverTarget": "b2bspastore:server:production" |
171 | | - } |
172 | | - }, |
173 | | - "defaultConfiguration": "development" |
174 | | - }, |
175 | | - "prerender": { |
176 | | - "builder": "@nguniversal/builders:prerender", |
177 | | - "options": { |
178 | | - "routes": [ |
179 | | - "/" |
180 | | - ] |
181 | | - }, |
182 | | - "configurations": { |
183 | | - "production": { |
184 | | - "browserTarget": "b2bspastore:build:production", |
185 | | - "serverTarget": "b2bspastore:server:production" |
186 | | - }, |
187 | | - "development": { |
188 | | - "browserTarget": "b2bspastore:build:development", |
189 | | - "serverTarget": "b2bspastore:server:development" |
190 | | - } |
191 | | - }, |
192 | | - "defaultConfiguration": "production" |
193 | 147 | } |
194 | 148 | } |
195 | 149 | } |
|
0 commit comments