Skip to content

Commit 18f317d

Browse files
committed
config vitepress to target esnext build
1 parent bdfae89 commit 18f317d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/.vitepress/config.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,15 @@ import { version } from '../package.json'
33
export default {
44
vite: {
55
optimizeDeps: {
6-
include: ['pdfjs-dist'],
76
esbuildOptions: {
87
supported: {
98
'top-level-await': true,
109
},
1110
},
1211
},
12+
build: {
13+
target: 'esnext',
14+
},
1315
},
1416
title: 'VuePDF',
1517
description: 'PDF component for Vue 3',

0 commit comments

Comments
 (0)