I included the PrebotModule in an Angular 12 project and I found that the following line breaks, because the call to `getComputedStyle` is Illegal. https://github.com/angular/preboot/blob/022ce61601772f7df794e93c740f8d54664f0a0a/src/lib/api/event.replayer.ts#L146 The `getComputedStyle` object is set here: https://github.com/angular/preboot/blob/022ce61601772f7df794e93c740f8d54664f0a0a/src/lib/api/event.replayer.ts#L21 * **I'm submitting a ...** - [x] bug report - [ ] feature request * **Which parts of preboot are affected by this issue?** - [ ] server side - [x] client side - [ ] inline - [ ] build process - [ ] docs - [ ] tests * **What is the current behavior?** Currently it throws an error and breaks the swapping of the root application. * **If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem** by * **What is the expected behavior?** Should not fail when running in the browser. I would suggest to add `.bind(window)` to the declaration. * **Please tell us about your environment:** - Browser: [Chrome 92.0.4515.159] - Language: [TypeScript 4.3 | ES6/7 | ES5 ] - OS: [Mac OS X] 
I included the PrebotModule in an Angular 12 project and I found that the following line breaks, because the call to
getComputedStyleis Illegal.preboot/src/lib/api/event.replayer.ts
Line 146 in 022ce61
The
getComputedStyleobject is set here:preboot/src/lib/api/event.replayer.ts
Line 21 in 022ce61
What is the current behavior?
Currently it throws an error and breaks the swapping of the root application.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem by
What is the expected behavior?
Should not fail when running in the browser. I would suggest to add
.bind(window)to the declaration.Please tell us about your environment: