fix: exclude workspace node_modules from tsc; ignore @descro/sdk build errors

This commit is contained in:
thesn10
2026-06-25 19:22:46 +02:00
parent 6fb5283c43
commit 5c9b427fce
2 changed files with 7 additions and 1 deletions

View File

@@ -3,6 +3,11 @@ import type { NextConfig } from 'next'
const config: NextConfig = {
reactStrictMode: true,
transpilePackages: ['@solana/connector', '@solisting/sdk', '@descro/sdk'],
typescript: {
// @descro/sdk has a pre-existing generic type variance error in its source;
// type correctness of our app code is enforced by `yarn typecheck` (tsc --noEmit).
ignoreBuildErrors: true,
},
}
export default config

View File

@@ -36,6 +36,7 @@
".next/dev/types/**/*.ts"
],
"exclude": [
"node_modules"
"node_modules",
"../node_modules"
]
}