### Describe the bug
After updating VITE to version 6.0.9 I get the following error when vite build
FULL ERROR:
```
error during build:
TypeError: Invalid URL
at new URL (node:internal/url:79...
### Describe the bug
After updating VITE to version 6.0.9 I get the following error when vite build
FULL ERROR:
```
error during build:
TypeError: Invalid URL
at new URL (node:internal/url:79...
### Description
fix #19239
This line is causing the latest version to fail: https://github.com/laravel/vite-plugin/blob/e57a940c22f90e72002380d3dad1a2c6f1921983/src/index.ts#L154
I don't t...
I don't think we should keep this fix, but we can do a quick patch with it to avoid disruption in the patch. As you said, this doesn't open up a security problem and it will still work for laravel....
Please share a minimal reproduction, it doesn't need to be from the OP. Downgrading to 6.0.8 represents a security risk, see https://github.com/vitejs/vite/security/advisories/GHSA-vg6x-rcgg-rjx6