Provide a transformation function that maps absolute references to resources into relative references based on the location of a page. This makes it possible to use the same links across multiple pages in the hierarchy that works when loaded as files from the filesystem.
19 lines
383 B
JSON
19 lines
383 B
JSON
{
|
|
"files": ["cli.ts"],
|
|
"include": ["content", "utils"],
|
|
"compilerOptions": {
|
|
"outDir": "build/node",
|
|
"rootDir": ".",
|
|
|
|
"jsx": "react-jsx",
|
|
"jsxImportSource": "antihtml",
|
|
"sourceMap": true,
|
|
"lib": ["es2023"],
|
|
"target": "es2023",
|
|
"module": "node16",
|
|
"moduleResolution": "node16",
|
|
"strict": true,
|
|
"esModuleInterop": true,
|
|
"skipLibCheck": true
|
|
}
|
|
}
|