How to not prettify the html ?
Hi @YIZHUANG , this is project is cool, but I have a concern, when I run react-csp dev or prod, it's prettifying the index.html, but I have some script tags which look gibberish and they shouldn't be prettified, in this case, what should be done ?
Thank you
Can you make a pull request? To pass an argument, pretty or not
Hi @YIZHUANG , sure will do, BTW yarn build is not generating the inline-scripts hashes or nonces accordingly, is it a known issue ?
you can also move your script tag out of index.html in another file. I had a case where I wanted index.html as readable and I had added it as part of https://github.com/YIZHUANG/react-csp/pull/2/files