Updated tsconfig.json to exclude test files and setup files from the production build. This resolves TypeScript compilation errors when building the package, as test files with vitest globals don't need to be included in the distributed package. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
31 lines
676 B
JSON
31 lines
676 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2020",
|
|
"lib": ["DOM", "DOM.Iterable", "ES2020"],
|
|
"allowJs": false,
|
|
"skipLibCheck": true,
|
|
"esModuleInterop": false,
|
|
"allowSyntheticDefaultImports": true,
|
|
"strict": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"moduleResolution": "node",
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"noEmit": false,
|
|
"emitDeclarationOnly": true,
|
|
"jsx": "react-jsx",
|
|
"declaration": true,
|
|
"outDir": "./dist",
|
|
"rootDir": "./src"
|
|
},
|
|
"include": [
|
|
"src/**/*"
|
|
],
|
|
"exclude": [
|
|
"node_modules",
|
|
"dist",
|
|
"**/*.stories.*",
|
|
"**/*.test.*",
|
|
"src/test/**/*"
|
|
]
|
|
} |