giveth-dapps-v2 icon indicating copy to clipboard operation
giveth-dapps-v2 copied to clipboard

P2 PFP | remove console.log from production builds

Open geleeroyale opened this issue 1 year ago • 15 comments

While testing, I found that there is a lot of info being written to console. We should consider adding some mechanism to remove console.logfrom our production builds - among other things, to make them more performant.

Here is some inspiration, we can also test a github action to remove it, but that would be more dangerous I think.

https://dev.to/drsimplegraffiti/remove-consolelog-from-production-mode-4d8i

geleeroyale avatar Jan 09 '24 12:01 geleeroyale