fix(tsconfig): add baseUrl

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