Fixed Monorepo Merge Build
By default, TypeScript looks for type roots in parent node_modules directories. We can't do this because there are React types that cause errors. This commit explicitly defines the type roots for the package to avoid that behavior.
This commit is contained in:
parent
245dd98b45
commit
fc56455e47
|
@ -6,7 +6,10 @@
|
|||
"outDir": "dist",
|
||||
"rootDir": "src",
|
||||
"strict": true,
|
||||
"target": "es2019"
|
||||
"target": "es2019",
|
||||
"typeRoots": [
|
||||
"./node_modules/@types"
|
||||
],
|
||||
},
|
||||
"include": [
|
||||
"src/**/*"
|
||||
|
|
Loading…
Reference in New Issue