This problem occurs when this version of vite is 2.8.0 or 2.8.1, it is normal in version 2.7.13.
the file '/resource/loading.css' is inside directory public.
this relative code is in index.html:
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/core instead.
Describe the bug
This problem occurs when this version of vite is 2.8.0 or 2.8.1, it is normal in version 2.7.13. the file '/resource/loading.css' is inside directory public. this relative code is in index.html:
Reproduction
https://github.com/honghuangdc/soybean-admin/blob/main/index.html
System Info
Used Package Manager
pnpm
Logs
Validations