51 lines
1.3 KiB
JSON
51 lines
1.3 KiB
JSON
{
|
|
"compilerOptions": {
|
|
/* Language and Environment */
|
|
"target": "ES2020",
|
|
"lib": ["ES2020", "DOM"],
|
|
|
|
/* Modules */
|
|
"module": "ES2020",
|
|
"moduleResolution": "bundler",
|
|
"resolveJsonModule": true,
|
|
|
|
/* Emit */
|
|
"outDir": "./dist",
|
|
"declaration": true,
|
|
"declarationMap": true,
|
|
"sourceMap": true,
|
|
"removeComments": false,
|
|
|
|
/* Interop Constraints */
|
|
"esModuleInterop": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"isolatedModules": true,
|
|
|
|
/* Type Checking - STRICT MODE */
|
|
"strict": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"noImplicitReturns": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"noUncheckedIndexedAccess": true,
|
|
"noImplicitOverride": true,
|
|
"noPropertyAccessFromIndexSignature": true,
|
|
|
|
/* Completeness */
|
|
"skipLibCheck": true,
|
|
|
|
/* Path Mapping */
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"@/*": ["entrypoints/*"],
|
|
"~/*": ["src/*"]
|
|
},
|
|
|
|
/* Browser Extension Types */
|
|
"types": ["firefox-webext-browser", "vitest/globals"]
|
|
},
|
|
"include": ["entrypoints/**/*.ts", "src/**/*.ts", "wxt.config.ts", "*.config.ts", ".wxt/types/**/*.d.ts"],
|
|
"exclude": ["node_modules", "dist", ".wxt/**/*", "!.wxt/types/**/*.d.ts"]
|
|
}
|