You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the build --watch mode, font files are added to assets only during the first build. When rebuilding after changes, font files are deleted and not added back.
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Provide a description in this issue that describes the bug.
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/vue-next instead.
Describe the bug
In the
build --watch
mode, font files are added to assets only during the first build. When rebuilding after changes, font files are deleted and not added back.Reproduction
npm ci
npm run watch
dist
folder after first build. It should contain font files.styles.css
to trigger rebuild. Checkdist
folder agine.System Info
Output of
npx envinfo --system --npmPackages vite,@vitejs/plugin-vue --binaries --browsers
:Used package manager: npm
Before submitting the issue, please make sure you do the following
The text was updated successfully, but these errors were encountered: