mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-15 01:21:09 +02:00
shared-types/src/index.ts re-exports with explicit .ts extensions (Tailwind v4 module resolver needs them). TS 5.7 requires consumers to opt in via allowImportingTsExtensions. The flag only type-checks when noEmit:true; the NestJS builder also needs rewriteRelativeImportExtensions so tsc still emits valid JS. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
20 lines
559 B
JSON
20 lines
559 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2022",
|
|
"module": "ESNext",
|
|
"moduleResolution": "bundler",
|
|
// shared-types re-exports with explicit .ts paths (Tailwind v4
|
|
// module resolver needs them). Consumers need this opt-in;
|
|
// noEmit:true means no rewrite flag is required.
|
|
"allowImportingTsExtensions": true,
|
|
"strict": true,
|
|
"esModuleInterop": true,
|
|
"skipLibCheck": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"declaration": true,
|
|
"declarationMap": true,
|
|
"noEmit": true
|
|
},
|
|
"include": ["src/**/*"],
|
|
"exclude": ["node_modules"]
|
|
}
|