fix(tsconfig): add baseUrl

This commit is contained in:
Clément Loridan
2021-09-23 10:40:01 +02:00
parent ae4bce1295
commit c7ba938f94
+15 -3
View File
@@ -1,9 +1,13 @@
{ {
"compilerOptions": { "compilerOptions": {
"baseUrl": ".",
"outDir": "dist", "outDir": "dist",
"module": "esnext", "module": "esnext",
"target": "esnext", "target": "esnext",
"lib": ["dom", "esnext"], "lib": [
"dom",
"esnext"
],
"jsx": "react", "jsx": "react",
"moduleResolution": "node", "moduleResolution": "node",
"declaration": true, "declaration": true,
@@ -21,6 +25,14 @@
"allowSyntheticDefaultImports": true, "allowSyntheticDefaultImports": true,
"esModuleInterop": true "esModuleInterop": true
}, },
"include": ["src"], "include": [
"exclude": ["node_modules", "build", "dist", "example", "rollup.config.js"] "src"
],
"exclude": [
"node_modules",
"build",
"dist",
"example",
"rollup.config.js"
]
} }