SRI used to be supported in CRA (facebook/create-react-app#1176) but it was removed because of some incompatibilities (facebook/create-react-app#1231).
Could we re-add SRI support in CRA? I feel like the reasons given in #1231 could be solved.
Here are some benefits of SRI:
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 5 days if no further activity occurs.
Well... this issue is rather waiting for constructive comments (not from a bot) :)
I wonder if taking essentially the same approach as the original one in #1176, but with an env var to disable it if it causes issues (similar to INLINE_RUNTIME_CHUNK
for those of use using strict CSP configurations that ban unsafe-inline
) would be best? or even off by default with an env var to opt in (although imo making security opt-in isn't the best idea)
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 5 days if no further activity occurs.
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in 5 days if no further activity occurs.
Nope.
Hi all, any headway/updates on this re-roll out? Thanks
Any updates?
Most helpful comment
I wonder if taking essentially the same approach as the original one in #1176, but with an env var to disable it if it causes issues (similar to
INLINE_RUNTIME_CHUNK
for those of use using strict CSP configurations that banunsafe-inline
) would be best? or even off by default with an env var to opt in (although imo making security opt-in isn't the best idea)