Add moduleSuffixes to tsconfig (#11146)
Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"extends": "./tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"moduleSuffixes": [".web", ""],
|
||||
"paths": {
|
||||
"#/*": ["./src/*"],
|
||||
"crypto": ["./src/platform/crypto.ts"],
|
||||
/*
|
||||
* expo-file-system/legacy resolves to the package's raw TypeScript
|
||||
* source, whose internals break under .web module suffixes. Point it
|
||||
* at the compiled declarations, where skipLibCheck applies.
|
||||
*/
|
||||
"expo-file-system/legacy": [
|
||||
"./node_modules/expo-file-system/build/legacy/index.d.ts"
|
||||
]
|
||||
}
|
||||
},
|
||||
"include": [
|
||||
"index.web.ts",
|
||||
"src/**/*.web.ts",
|
||||
"src/**/*.web.tsx",
|
||||
"src/platform/*.web-check.d.ts"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user