Skip to content

Commit 215c0d0

Browse files
committed
chore(*): removing ssr-test and making demos-dev ssr
1 parent 4fe76bd commit 215c0d0

24 files changed

+75
-650
lines changed

angular.json

Lines changed: 11 additions & 113 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,19 @@
1515
},
1616
"architect": {
1717
"build": {
18-
"builder": "@angular-devkit/build-angular:browser",
18+
"builder": "@angular-devkit/build-angular:application",
1919
"options": {
2020
"outputPath": "dist/igniteui-dev-demos",
2121
"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+
],
2431
"tsConfig": "src/tsconfig.app.json",
2532
"assets": [
2633
"src/favicon.ico",
@@ -31,9 +38,7 @@
3138
"src/styles/styles.scss"
3239
],
3340
"scripts": [],
34-
"vendorChunk": true,
3541
"extractLicenses": false,
36-
"buildOptimizer": false,
3742
"sourceMap": true,
3843
"optimization": false,
3944
"namedChunks": true,
@@ -62,10 +67,7 @@
6267
"outputHashing": "all",
6368
"sourceMap": false,
6469
"namedChunks": false,
65-
"extractLicenses": true,
66-
"vendorChunk": false,
67-
"buildOptimizer": true,
68-
"aot": true
70+
"extractLicenses": true
6971
},
7072
"hmr": {
7173
"budgets": [
@@ -335,110 +337,6 @@
335337
}
336338
}
337339
}
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-
}
442340
}
443341
},
444342
"cli": {

projects/igniteui-angular/src/lib/tabs/tabs/tabs.component.spec.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ describe('IgxTabs', () => {
4545
];
4646

4747
TestBed.configureTestingModule({
48-
declarations: [],
4948
imports: [
5049
NoopAnimationsModule,
5150
RouterTestingModule.withRoutes(testRoutes),

projects/ssr-test/src/app/app.component.html

Lines changed: 0 additions & 7 deletions
This file was deleted.

projects/ssr-test/src/app/app.component.scss

Whitespace-only changes.

projects/ssr-test/src/app/app.component.spec.ts

Lines changed: 0 additions & 29 deletions
This file was deleted.

projects/ssr-test/src/app/app.component.ts

Lines changed: 0 additions & 14 deletions
This file was deleted.

projects/ssr-test/src/app/app.config.ts

Lines changed: 0 additions & 9 deletions
This file was deleted.

projects/ssr-test/src/app/app.routes.ts

Lines changed: 0 additions & 3 deletions
This file was deleted.

projects/ssr-test/src/assets/.gitkeep

Whitespace-only changes.

projects/ssr-test/src/favicon.ico

-14.7 KB
Binary file not shown.

0 commit comments

Comments
 (0)