mirror of
https://github.com/hanzoai/ui.git
synced 2026-11-20 22:36:27 +00:00
@hanzo/og shipped its TypeScript source, which only a bundler could read: Node strips types from no file under node_modules, so a script such as a blog's hero drawer could not import ImageResponse. 1.0.2 is built with tsc to dist/, ESM, with its types. Claude-Session: https://claude.ai/code/session_015XYKLnoSseGhXKoeBiFtQF
19 lines
402 B
JSON
19 lines
402 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2022",
|
|
"module": "esnext",
|
|
"moduleResolution": "bundler",
|
|
"lib": ["ES2022", "DOM"],
|
|
"types": ["node"],
|
|
"jsx": "react-jsx",
|
|
"strict": true,
|
|
"declaration": true,
|
|
"declarationMap": true,
|
|
"sourceMap": true,
|
|
"outDir": "dist",
|
|
"rootDir": "src",
|
|
"skipLibCheck": true
|
|
},
|
|
"include": ["src/**/*.ts", "src/**/*.tsx"]
|
|
}
|