feat(pdf-viewer): add postinstall script for pdfjs worker and simplify pdf rendering
This commit is contained in:
@@ -8,7 +8,8 @@
|
||||
"dev:ragflow": "pnpm -r --filter ragflow_web run dev",
|
||||
"build": "tsc -b && vite build",
|
||||
"lint": "eslint .",
|
||||
"preview": "vite preview"
|
||||
"preview": "vite preview",
|
||||
"postinstall": "node scripts/copy-pdfjs-worker.mjs"
|
||||
},
|
||||
"dependencies": {
|
||||
"@emotion/react": "^11.14.0",
|
||||
|
||||
Reference in New Issue
Block a user