fork from https://github.com/mozilla/pdf.js.git
This commit is contained in:
22
tsconfig.json
Normal file
22
tsconfig.json
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"target": "ES2022",
|
||||
"allowJs": true,
|
||||
"declaration": true,
|
||||
"strict": true,
|
||||
"emitDeclarationOnly": true,
|
||||
"esModuleInterop": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"moduleResolution": "bundler",
|
||||
"paths": {
|
||||
"pdfjs-lib": ["./src/pdf"],
|
||||
"display-binary_data_factory": ["./src/display/binary_data_factory"],
|
||||
"display-network_stream": ["./src/display/network_stream.js"],
|
||||
"display-node_utils": ["./src/display/node_utils"],
|
||||
"fluent-bundle": ["./node_modules/@fluent/bundle/esm/index.js"],
|
||||
"fluent-dom": ["./node_modules/@fluent/dom/esm/index.js"],
|
||||
"web-null_l10n": ["./web/genericl10n"]
|
||||
}
|
||||
},
|
||||
"files": ["src/pdf.js", "web/pdf_viewer.component.js"]
|
||||
}
|
||||
Reference in New Issue
Block a user