{ // using tsc for type declarations as "Note that declaration files generated by any tool other than tsc are not guaranteed to be error-free, so it's a good idea to test the output with tsc" - https://tsup.egoist.dev/#generate-declaration-file // "extends": "@repo/typescript-config/react-library.json", "compilerOptions": { "composite": false, "declaration": true, "esModuleInterop": true, "forceConsistentCasingInFileNames": true, "allowImportingTsExtensions": true, "inlineSources": false, "isolatedModules": true, "moduleResolution": "Bundler", "noUnusedLocals": false, "noUnusedParameters": false, "preserveWatchOutput": true, "skipLibCheck": true, "strict": true, "strictNullChecks": true, "lib": ["ES2015", "DOM"], "module": "ESNext", "target": "ES6", "jsx": "react-jsx", "outDir": "dist", "noEmit": false, "emitDeclarationOnly": true, "declarationMap": true }, "include": ["src"], "exclude": ["dist", "node_modules", "**/*.test.*", "**/*.spec.*"] }