I recently deployed a .NET Core 1.1.0 + Angular 2 + Typescript app on ASPHostPortal and encountered an issue while accessing it from Safari. The console showed the following exception:
Can't find variable:WeakMap
This caused the site to not load properly, getting stuck at the "loading" screen.
Has anyone else experienced this issue and found a solution?
UPDATE
After implementing Sakuto's solution for the WeakMap problem, Safari now displays different errors in the console:
https://i.sstatic.net/Eune0.png
Does anyone know what might be causing these new errors? The site continues to function correctly in Chrome and Firefox.