Skip to content

Commit

Permalink
chore(docs): filter assets
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Mar 7, 2022
1 parent 621300d commit 70d84df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export default defineConfig({
outDir: '.vitepress/dist',
registerType: 'autoUpdate',
// include all static assets under public/
includeAssets: fg.sync('**/*.*', { cwd: resolve(__dirname, 'public') }),
includeAssets: fg.sync('**/*.{png,svg,ico,txt}', { cwd: resolve(__dirname, 'public') }),
manifest: {
id: '/',
name: vitestName,
Expand Down

0 comments on commit 70d84df

Please sign in to comment.