Angular 9 SSR - where to set global['window'] (using domino)?
Solved, thanks to this comment https://github.com/angular/universal/issues/1678#issuecomment-627031128
The key is to have line
import { AppServerModule } from './src/main.server';
after the definition of global['window']
Beware the autoformatters in your editor, which usually put the import lines on top of the file automatically :)