Closed bkielczewski closed 4 years ago
I've noticed this comes from ngm-cli you're using for your build. My advice would be to consider switching to Angular CLI library project for your build. The bundles it generates don't have window object passed if it's not used and in general it's a 'more Angular way' of achieving the same without relying on other 3rd party projects.
I have already switched just after I saw the issue, I'll release a new version soon
Great, thanks!
In bundles/ng2-google-charts.umd.js you have:
Obviously resulting in
ReferenceError: window is not defined
when Ng2GoogleChartsModule is loaded server-side.