Skip to content

Commit 21b1cd7

Browse files
committed
Update vitepress to v1.6.3 and add new PDF.js modules to Vite configuration
1 parent d0f2c63 commit 21b1cd7

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

bun.lockb

5.41 KB
Binary file not shown.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"dependencies": {},
1818
"devDependencies": {
1919
"@types/bun": "latest",
20-
"vitepress": "^1.5.0"
20+
"vitepress": "^1.6.3"
2121
},
2222
"peerDependencies": {
2323
"typescript": "^5.6.3"

packages/vue/vite.config.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,9 @@ export default defineConfig({
6868
import.meta.url
6969
)
7070
),
71-
71+
'display-wasm_factory': fileURLToPath(
72+
new URL('../../node_modules/pdf.js/src/display/wasm_factory.js', import.meta.url)
73+
),
7274
'display-fetch_stream': fileURLToPath(
7375
new URL('../../node_modules/pdf.js/src/display/fetch_stream.js', import.meta.url)
7476
),
@@ -136,6 +138,9 @@ export default defineConfig({
136138
'web-secondary_toolbar': fileURLToPath(
137139
new URL('../../node_modules/pdf.js/web/secondary_toolbar.js', import.meta.url)
138140
),
141+
'web-signature_manager': fileURLToPath(
142+
new URL('../../node_modules/pdf.js/web/signature_manager.js', import.meta.url)
143+
),
139144
'web-toolbar': fileURLToPath(
140145
new URL('../../node_modules/pdf.js/web/toolbar.js', import.meta.url)
141146
)

0 commit comments

Comments
 (0)