Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't show third-party JS errors in production builds (#29303)
So we don't get issues like go-gitea/gitea#29080 and go-gitea/gitea#29273 any more. Only active in [production builds](https://webpack.js.org/guides/production/#specify-the-mode), in non-production the errors will still show. (cherry picked from commit 532da5ed5ee3edb45d2ee63c6ab0fad53473691f)
- Loading branch information