I have created Angular 2 production build with the following command:
ng build --prod --aot
However the generated files under dist folder (example: main.0c05c6d4245461043e3f.bundle) are being blocked by CSP thus making some of the applied style not showing up.
The error that I retrieved is:
Refused to apply inline style because it violates the following Content Security Policy directive
I checked all of my components and I didn't find any inline call of CSS style. Is it maybe because of a third-party plugin? Or else?
However, I also want to apply hash or nonce (according to chrome suggestion) to resolve the CSP violation.
How to do that?
