I've created a custom web component located in the file: wc-notification.js and I want to use it in my Angular project built with Angular CLI.
I've included the file in src/index.html,but I keep getting error:
The resource from “http://localhost:4200/wc-notification.js” was blocked
due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
How to solve this issue?