build: requested assets name __VITE_ASSET__hash__
doesn't match the generated assets file name
#1602
Closed
3 tasks done
Labels
Describe the bug
I'm using fontawesome 4.7. Development env works fine. But when the project is built and published, all icon can't be properly displayed, because the requested url
.../assets/__VITE_ASSET__933c617f__?v=4.7.0__
doesn't match the generated assets filename
fontawesome-webfont.9dc6938e.woff2
Reproduction
Please provide a link to a repo that can reproduce the problem you ran into.
yarn create @vitejs/app
, selectvue-ts
cd vite-project
yarn add font-awesome@^4.7.0
in
main.ts
import 'font-awesome/css/font-awesome.css';
in
App.vue
<i class="fa fa-circle"></i>
then
yarn build
System Info
vite
version: 2.0.0-beta.34Logs (Optional if provided reproduction)
vite
orvite build
with the--debug
flag.The text was updated successfully, but these errors were encountered: