Import pdf-js from our public vendor and fix build

This commit is contained in:
chrox 2024-10-14 15:59:33 +02:00
parent a493fee4ed
commit 404a8a9282
No known key found for this signature in database
GPG key ID: 07EA917B97209AE3
8 changed files with 36 additions and 13 deletions

View file

@ -1,7 +1,11 @@
{
"extends": "@sindresorhus/tsconfig",
"compilerOptions": {
"lib": ["dom", "dom.iterable", "esnext"],
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
@ -19,9 +23,21 @@
}
],
"paths": {
"@/*": ["./src/*"]
"@/*": [
"./src/*"
],
"@pdfjs/*": [
"./public/vendor/pdfjs/*"
]
}
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"exclude": ["node_modules"]
}
"include": [
"next-env.d.ts",
"**/*.ts",
"**/*.tsx",
".next/types/**/*.ts"
],
"exclude": [
"node_modules"
]
}