Skip to content

Commit 0dc2a29

Browse files
committed
fix pdfjs icons in final build
1 parent 70ff275 commit 0dc2a29

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

packages/superdoc/vite.config.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,11 @@ export default defineConfig(({ mode, command}) => {
5050
{
5151
src: path.resolve(__dirname, '../super-editor/dist/*'),
5252
dest: 'dist/super-editor',
53-
}
53+
},
54+
{
55+
src: path.resolve(__dirname, '../../node_modules/pdfjs-dist/web/images/*'),
56+
dest: 'dist/images',
57+
},
5458
],
5559
hook: 'writeBundle'
5660
}),

0 commit comments

Comments
 (0)