Skip to content

Commit

Permalink
config vitepress to target esnext build
Browse files Browse the repository at this point in the history
  • Loading branch information
TaTo30 committed May 26, 2024
1 parent bdfae89 commit 18f317d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/.vitepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,15 @@ import { version } from '../package.json'
export default {
vite: {
optimizeDeps: {
include: ['pdfjs-dist'],
esbuildOptions: {
supported: {
'top-level-await': true,
},
},
},
build: {
target: 'esnext',
},
},
title: 'VuePDF',
description: 'PDF component for Vue 3',
Expand Down

0 comments on commit 18f317d

Please sign in to comment.