|
15 | 15 | }, |
16 | 16 | "architect": { |
17 | 17 | "build": { |
18 | | - "builder": "@angular-devkit/build-angular:browser", |
| 18 | + "builder": "@angular-devkit/build-angular:application", |
19 | 19 | "options": { |
20 | 20 | "outputPath": "dist/igniteui-dev-demos", |
21 | 21 | "index": "src/index.html", |
22 | | - "main": "src/main.ts", |
23 | | - "polyfills": "src/polyfills.ts", |
| 22 | + "browser": "src/main.ts", |
| 23 | + "server": "src/main.server.ts", |
| 24 | + "ssr": { |
| 25 | + "entry": "src/server.ts" |
| 26 | + }, |
| 27 | + "polyfills": [ |
| 28 | + "zone.js", |
| 29 | + "hammerjs" |
| 30 | + ], |
24 | 31 | "tsConfig": "src/tsconfig.app.json", |
25 | 32 | "assets": [ |
26 | 33 | "src/favicon.ico", |
|
31 | 38 | "src/styles/styles.scss" |
32 | 39 | ], |
33 | 40 | "scripts": [], |
34 | | - "vendorChunk": true, |
35 | 41 | "extractLicenses": false, |
36 | | - "buildOptimizer": false, |
37 | 42 | "sourceMap": true, |
38 | 43 | "optimization": false, |
39 | 44 | "namedChunks": true, |
|
62 | 67 | "outputHashing": "all", |
63 | 68 | "sourceMap": false, |
64 | 69 | "namedChunks": false, |
65 | | - "extractLicenses": true, |
66 | | - "vendorChunk": false, |
67 | | - "buildOptimizer": true, |
68 | | - "aot": true |
| 70 | + "extractLicenses": true |
69 | 71 | }, |
70 | 72 | "hmr": { |
71 | 73 | "budgets": [ |
|
335 | 337 | } |
336 | 338 | } |
337 | 339 | } |
338 | | - }, |
339 | | - "ssr-test": { |
340 | | - "projectType": "application", |
341 | | - "schematics": { |
342 | | - "@schematics/angular:component": { |
343 | | - "style": "scss" |
344 | | - } |
345 | | - }, |
346 | | - "root": "projects/ssr-test", |
347 | | - "sourceRoot": "projects/ssr-test/src", |
348 | | - "prefix": "app", |
349 | | - "architect": { |
350 | | - "build": { |
351 | | - "builder": "@angular-devkit/build-angular:application", |
352 | | - "options": { |
353 | | - "outputPath": "dist/ssr-test", |
354 | | - "index": "projects/ssr-test/src/index.html", |
355 | | - "browser": "projects/ssr-test/src/main.ts", |
356 | | - "polyfills": [ |
357 | | - "zone.js" |
358 | | - ], |
359 | | - "tsConfig": "projects/ssr-test/tsconfig.app.json", |
360 | | - "inlineStyleLanguage": "scss", |
361 | | - "assets": [ |
362 | | - "projects/ssr-test/src/favicon.ico", |
363 | | - "projects/ssr-test/src/assets" |
364 | | - ], |
365 | | - "styles": [ |
366 | | - "projects/ssr-test/src/styles.scss" |
367 | | - ], |
368 | | - "scripts": [], |
369 | | - "server": "projects/ssr-test/src/main.server.ts", |
370 | | - "prerender": true, |
371 | | - "ssr": { |
372 | | - "entry": "projects/ssr-test/server.ts" |
373 | | - }, |
374 | | - "stylePreprocessorOptions": { |
375 | | - "includePaths": [ |
376 | | - "node_modules" |
377 | | - ] |
378 | | - } |
379 | | - }, |
380 | | - "configurations": { |
381 | | - "production": { |
382 | | - "budgets": [ |
383 | | - { |
384 | | - "type": "initial", |
385 | | - "maximumWarning": "500kb", |
386 | | - "maximumError": "1mb" |
387 | | - }, |
388 | | - { |
389 | | - "type": "anyComponentStyle", |
390 | | - "maximumWarning": "2kb", |
391 | | - "maximumError": "4kb" |
392 | | - } |
393 | | - ], |
394 | | - "outputHashing": "all" |
395 | | - }, |
396 | | - "development": { |
397 | | - "optimization": false, |
398 | | - "extractLicenses": false, |
399 | | - "sourceMap": true |
400 | | - } |
401 | | - }, |
402 | | - "defaultConfiguration": "production" |
403 | | - }, |
404 | | - "serve": { |
405 | | - "builder": "@angular-devkit/build-angular:dev-server", |
406 | | - "configurations": { |
407 | | - "production": { |
408 | | - "buildTarget": "ssr-test:build:production" |
409 | | - }, |
410 | | - "development": { |
411 | | - "buildTarget": "ssr-test:build:development" |
412 | | - } |
413 | | - }, |
414 | | - "defaultConfiguration": "development" |
415 | | - }, |
416 | | - "extract-i18n": { |
417 | | - "builder": "@angular-devkit/build-angular:extract-i18n", |
418 | | - "options": { |
419 | | - "buildTarget": "ssr-test:build" |
420 | | - } |
421 | | - }, |
422 | | - "test": { |
423 | | - "builder": "@angular-devkit/build-angular:karma", |
424 | | - "options": { |
425 | | - "polyfills": [ |
426 | | - "zone.js", |
427 | | - "zone.js/testing" |
428 | | - ], |
429 | | - "tsConfig": "projects/ssr-test/tsconfig.spec.json", |
430 | | - "inlineStyleLanguage": "scss", |
431 | | - "assets": [ |
432 | | - "projects/ssr-test/src/favicon.ico", |
433 | | - "projects/ssr-test/src/assets" |
434 | | - ], |
435 | | - "styles": [ |
436 | | - "projects/ssr-test/src/styles.scss" |
437 | | - ], |
438 | | - "scripts": [] |
439 | | - } |
440 | | - } |
441 | | - } |
442 | 340 | } |
443 | 341 | }, |
444 | 342 | "cli": { |
|
0 commit comments