syntax-highlighting/tsconfig.json
saberzero1 fada634ccd
feat: add clipboard copy button for code blocks
Move clipboard script and styles from Quartz core Body.tsx into the
syntax-highlighting plugin. Injected via externalResources() hook with
a new clipboard option (defaults to true). Adds esbuild text-loader
for .inline.ts and .scss files.
2026-02-14 00:32:49 +01:00

26 lines
732 B
JSON

{
"compilerOptions": {
"target": "ES2022",
"module": "ESNext",
"moduleResolution": "Bundler",
"lib": ["ES2022", "DOM", "DOM.Iterable"],
"rootDir": ".",
"outDir": "dist",
"declaration": true,
"declarationMap": true,
"sourceMap": true,
"noEmit": true,
"strict": true,
"noImplicitOverride": true,
"noUncheckedIndexedAccess": true,
"noFallthroughCasesInSwitch": true,
"skipLibCheck": true,
"resolveJsonModule": true,
"types": ["vitest/globals", "node"],
"verbatimModuleSyntax": true,
"jsx": "react-jsx",
"jsxImportSource": "preact"
},
"include": ["src", "test", "types", "tsup.config.ts", "vitest.config.ts"],
"exclude": ["dist", "node_modules"]
}