Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Add crossorigin attribute to script HTML tags
The Problem: When an error occurs in a script that is not served by the default server spawned by karma, the stack trace gets lost and only the message "Script Error" is captured and reported back. This makes it hard to pin-point where the error originated from. The Solution: Add "crossorigin" attribute to generated script tags. Solution is inspired by this article: https://blog.getsentry.com/2016/05/17/what-is-script-error.html
- Loading branch information