fix: dev server not showing pngs

This commit is contained in:
hyper 2026-04-08 19:56:44 +08:00
parent afe2eb4af8
commit 385bcb16d8
1 changed files with 3 additions and 0 deletions

View File

@ -40,5 +40,8 @@ export default defineConfig({
distPath: {
root: 'dist/web',
},
copy: process.env.NODE_ENV === 'development' ? [
{ from: './content', to: 'content' }
] : [],
},
});