Add CSP hash to inline scripts and styles in CRA This sample project tries to customise react-scripts configurations to use and configure csp-html-webpack-plugin for production build. Run this sample $ npm install $ npm run build $ npx serve build Browse http://localhost:5000 More details https://medium.com/@nrshahri/csp-cra-324dd83fe5ff