You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the new create-react-app the index.html in the build folder have an inline script.
Problems:
Not able to build Chrome extensions using create-react-app. Chrome blocks the execution of the inline scripts with the following message:
Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self' blob: filesystem: chrome-extension-resource:". Either the 'unsafe-inline' keyword, a hash ('sha256-GgRxrVOKNdB4LrRsVPDSbzvfdV4UqglmviH9GoBJ5jk='), or a nonce ('nonce-...') is required to enable inline execution.
Is there any way around this?
The text was updated successfully, but these errors were encountered:
With the new
create-react-app
theindex.html
in the build folder have an inline script.Problems:
Not able to build Chrome extensions using
create-react-app
. Chrome blocks the execution of the inline scripts with the following message:Is there any way around this?
The text was updated successfully, but these errors were encountered: