builder icon indicating copy to clipboard operation
builder copied to clipboard

reduce widgets bundle size by 85%

Open steve8708 opened this issue 3 years ago • 1 comments

from 161kb (before minification and gzipping) to 23.8kb by making all component async imported, so they are only included when used

steve8708 avatar Aug 08 '22 16:08 steve8708

⚠️ GitGuardian has uncovered 8 secrets following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

🔎 Detected hardcoded secrets in your pull request
GitGuardian id Secret Commit Filename
375826 Generic High Entropy Secret 9ba5a6d9bb6fe12231d9e57981c9cc0b2e3caeb5 packages/react/src/blocks/Image.config.ts View secret
375826 Generic High Entropy Secret 9ba5a6d9bb6fe12231d9e57981c9cc0b2e3caeb5 packages/react/src/blocks/Image.tsx View secret
375827 Generic High Entropy Secret 9ba5a6d9bb6fe12231d9e57981c9cc0b2e3caeb5 packages/react/src/blocks/Text.config.ts View secret
375827 Generic High Entropy Secret 9ba5a6d9bb6fe12231d9e57981c9cc0b2e3caeb5 packages/react/src/blocks/Text.tsx View secret
375828 Generic High Entropy Secret 9ba5a6d9bb6fe12231d9e57981c9cc0b2e3caeb5 packages/react/src/blocks/Video.config.ts View secret
375829 Generic High Entropy Secret 9ba5a6d9bb6fe12231d9e57981c9cc0b2e3caeb5 packages/react/src/blocks/Video.config.ts View secret
375828 Generic High Entropy Secret 9ba5a6d9bb6fe12231d9e57981c9cc0b2e3caeb5 packages/react/src/blocks/Video.tsx View secret
375829 Generic High Entropy Secret 9ba5a6d9bb6fe12231d9e57981c9cc0b2e3caeb5 packages/react/src/blocks/Video.tsx View secret
🛠 Guidelines to remediate hardcoded secrets
  1. Understand the implications of revoking this secret by investigating where it is used in your code.
  2. Replace and store your secrets safely. Learn here the best practices.
  3. Revoke and rotate these secrets.
  4. If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.

To avoid such incidents in the future consider


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

Our GitHub checks need improvements? Share your feedbacks!

gitguardian[bot] avatar Aug 08 '22 17:08 gitguardian[bot]