rsnext/examples/cms-sanity/tsconfig.json
Cody Olsen 111608171f
Update Sanity example deps and tsconfig (#64570)
v3.38.0 of `sanity` fixes a couple of bugs affecting Next.js:
- [crash in hotspot and cropping on
Next.js](https://github.com/sanity-io/sanity/pull/6380)
- [regression hiding tool buttons when embedded on
Next.js](https://github.com/sanity-io/sanity/pull/6338)

Also adjusts the `tsconfig.json` to use `module: Preserve`.
2024-04-16 18:01:44 +00:00

25 lines
551 B
JSON

{
"compilerOptions": {
"target": "esnext",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"noEmit": true,
"module": "preserve",
"isolatedModules": true,
"jsx": "preserve",
"incremental": true,
"plugins": [
{
"name": "next"
}
],
"paths": {
"@/*": ["./*"]
}
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"exclude": ["node_modules"]
}