Skip to content

Commit ca67a5f

Browse files
authored
Merge pull request #13914 from IgniteUI/buttongroup-ssr-fix-17x
chore(ssr): dont initialize MutationObserver if it does not exist
2 parents c31bf7f + c97842e commit ca67a5f

22 files changed

+3343
-3826
lines changed

.github/workflows/nodejs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
strategy:
1818
matrix:
19-
node-version: [18.x, 20.5.x]
19+
node-version: [18.x, 20.x]
2020

2121
steps:
2222
- name: Checkout
@@ -56,7 +56,7 @@ jobs:
5656
run: |
5757
npm run build:i18n
5858
npm run test:i18n:dist
59-
- name: Bundle Tree-Shake Test
59+
- name: Bundle Tree-Shake & SSR Test
6060
run: npm run build:bundletest
6161
- name: Publish to coveralls.io
6262
if: github.repository == 'IgniteUI/igniteui-angular' && matrix.node-version == '18.x'

angular.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,11 @@
270270
"includePaths": [
271271
"node_modules"
272272
]
273+
},
274+
"server": "projects/bundle-test/src/main.server.ts",
275+
"prerender": true,
276+
"ssr": {
277+
"entry": "projects/bundle-test/server.ts"
273278
}
274279
},
275280
"configurations": {

0 commit comments

Comments
 (0)