How to use React without unsafe inline JavaScript/CSS code?
Actually thanks to @heyimalex I found a very easy answer for my problem. Just run the build script like this: INLINE_RUNTIME_CHUNK=false npm run build Afterwards, it should be CSP-compatible.