-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Description
🐛 bug report
How has this issue affected you? What are you trying to accomplish?
Trying to run some client side Vite code. The app won't even start as it can never load all dependencies in dev mode.
I've seen about 200 of the Cloudflare checking your browser paywalls today. There seems to be no workaround but to wait for a VERY SLOW production build... which completely defeats the purpose of CSB. The problem happens in a breakout tab and in the built in browser... the built-in browser frequently returns the Chrome sad-face as Cloudflare has X-Frame-Options set to block on the captcha screen.
I have a Team Pro account, but the isPro() check doesn't seem to be working as I'll get a Pro emblem on the sandbox, but also an "Upgrade to Pro" advertisement under the 3 dot menu.
To Reproduce
Run Vite in a large project with ~100 components. This causes CloudFlare to panic and starts blocking everything indiscriminately. Disabling Ublock Origin did not help.
Link to sandbox: Vite vuetify
- This sandbox is very small, to reproduce the problem you may have to refresh the preview/tab 3 times to exhaust the quota and get 429 errors.
- The issue is much, MUCH, worse on vue2 vite projects which can't do tree shaking. At a point around 3 times the size of this example, the sandbox becomes unusable.
- Ignore the linting errors... this project uses SFC Script Setup, which (the deprecated since 2020 in favor of Volar) Vetur does not support.
Your Environment
| Software | Name/Version |
|---|---|
| Сodesandbox | 1ca347c (2022-02-08) |
| Browser | Chrome 98 |
| Operating System | Chrome |

