forked from akai/readest
80105af839
* fix: add missing TXT worker files for large import path * fix(ios): decode import paths and stabilize large TXT conversion * style(txt): run prettier on TXT conversion files * fix(txt): restore chunk iterator API and stream cancel behavior * fix(txt): avoid unused private segment iterator * chore: clean up log for unit tests --------- Co-authored-by: Huang Xin <chrox.huang@gmail.com>
39 lines
916 B
JSON
39 lines
916 B
JSON
{
|
|
"extends": "@sindresorhus/tsconfig",
|
|
"compilerOptions": {
|
|
"target": "ES2022",
|
|
"lib": ["dom", "dom.iterable", "webworker", "esnext"],
|
|
"allowJs": true,
|
|
"skipLibCheck": true,
|
|
"strict": true,
|
|
"noEmit": true,
|
|
"esModuleInterop": true,
|
|
"module": "preserve",
|
|
"moduleResolution": "bundler",
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"allowImportingTsExtensions": true,
|
|
"jsx": "preserve",
|
|
"incremental": true,
|
|
"plugins": [
|
|
{
|
|
"name": "next"
|
|
}
|
|
],
|
|
"paths": {
|
|
"@/*": ["./src/*"],
|
|
"@/components/ui/*": ["./src/components/primitives/*"],
|
|
"@pdfjs/*": ["./public/vendor/pdfjs/*"],
|
|
"@simplecc/*": ["./public/vendor/simplecc/*"]
|
|
}
|
|
},
|
|
"include": [
|
|
"next-env.d.ts",
|
|
"src/**/*.ts",
|
|
"src/**/*.tsx",
|
|
"raw-loader.d.ts",
|
|
".next/types/**/*.ts"
|
|
],
|
|
"exclude": ["node_modules", "out"]
|
|
}
|