goetzrobin / spartan

Cutting-edge tools powering Angular full-stack development.
https://spartan.ng
MIT License
1.09k stars 120 forks source link

ERROR ReferenceError: window is not defined #272

Closed benpsnyder closed 2 months ago

benpsnyder commented 2 months ago

Please provide the environment you discovered this bug in.

Build process related to static pages

Which area/package is the issue in?

Don't know / other

Description

Angular static pages

Please provide the exception or error you saw

ERROR ReferenceError: window is not defined
    at file:///Volumes/SnyderDev/@benpsnyder/spartan/dist/apps/app/ssr/assets/hlm-select-value.directive-chAd7kjR.js:721:19

Other information

I'll be submitting a PR to address this.

I would be willing to submit a PR to fix this issue

benpsnyder commented 2 months ago

Related: https://github.com/angular/cdk-builds/commit/b993db89f8368e2ddf97685b9d0dedbb2d8bde51