https://github.com/crutchcorn/broken-symblink-copy-demo
https://github.com/crutchcorn/broken-symblink-copy-demo
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/crutchcorn/broken-symblink-copy-demo
- Owner: crutchcorn
- Created: 2024-11-06T06:22:08.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-11-06T06:24:21.000Z (7 months ago)
- Last Synced: 2025-03-25T01:35:51.072Z (2 months ago)
- Language: CSS
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Broken Symlink Vite Build Demo
This is a demo project to show how Vite build breaks when there is a broken symlink in the project.
## Steps to reproduce
1. Clone this repository
2. Run `npm install`
3. Run `npm run build`
4. See the errorThis happens because the `copyDir` utility in Vite does not handle broken symlinks properly when inside of `public`. It tries to copy the broken symlink and fails.