diff --git a/docs/.vitepress/config.js b/docs/.vitepress/config.js index cee3a35..88f7bfc 100644 --- a/docs/.vitepress/config.js +++ b/docs/.vitepress/config.js @@ -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',