mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-07-06 07:05:48 +02:00
Note that the `prettier` update introduces a handful of formatting changes (see https://prettier.io/blog/2026/06/27/3.9.0). Moreover, the `tsc-alias` update requires explicitly defining the root URL in the compiler options now, otherwise it errors with `tsc-alias error: compilerOptions.rootDir is required with implicit baseUrl` (see https://github.com/justkey007/tsc-alias/pull/259/changes).
24 lines
781 B
JSON
24 lines
781 B
JSON
{
|
|
"compilerOptions": {
|
|
"rootDir": ".",
|
|
"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"]
|
|
}
|