Self-hosted over the HTTP API: no runtime dependency on api.dicebear.com, works offline/LAN, and no player pseudo leaks to a third party. - @dicebear/core@10 + @dicebear/styles@10 (lorelei.json), CC0 1.0 - Avatar builds a data URI locally (new Style/Avatar), memoized per seed - same component API (seed/className) → no call-site changes - enable resolveJsonModule for the style import Cost: ~64 kB gzip added to the bundle — acceptable for a self-hosted game. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
31 lines
769 B
JSON
31 lines
769 B
JSON
{
|
|
"compilerOptions": {
|
|
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
|
|
"target": "es2023",
|
|
"lib": ["ES2023", "DOM"],
|
|
"module": "esnext",
|
|
"types": ["vite/client"],
|
|
"skipLibCheck": true,
|
|
|
|
/* Bundler mode */
|
|
"moduleResolution": "bundler",
|
|
"resolveJsonModule": true,
|
|
"allowImportingTsExtensions": true,
|
|
"verbatimModuleSyntax": true,
|
|
"moduleDetection": "force",
|
|
"noEmit": true,
|
|
"jsx": "react-jsx",
|
|
|
|
/* Linting */
|
|
"strict": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"erasableSyntaxOnly": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"paths": {
|
|
"@/*": ["./src/*"],
|
|
"@workspace/ui/*": ["../../packages/ui/src/*"]
|
|
}
|
|
},
|
|
"include": ["src"]
|
|
}
|