111608171f
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`.
25 lines
551 B
JSON
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"]
|
|
}
|