pdf.js.mirror/tsconfig.json
Jonas Jenwald a0102abe76 Move the NetworkStream choice from src/display/api.js and into a separate file
This code already isn't used (or even bundled) in the Firefox PDF Viewer, and it also slightly reduces the number of import maps that need to be maintained.
2026-03-24 17:08:04 +01:00

23 lines
758 B
JSON

{
"compilerOptions": {
"target": "ES2022",
"allowJs": true,
"declaration": true,
"strict": true,
"emitDeclarationOnly": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"moduleResolution": "node",
"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"]
}