Skip to content

armgit / umami

Public Imported from GitHub
0

Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.

Fixed tsconfig.

Mike Cao10f92d017811
diff --git a/tsconfig.json b/tsconfig.json
index 9d860a224..08e376bd2 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -17,11 +17,20 @@
"forceConsistentCasingInFileNames": true,
"allowJs": true,
"strict": true,
- "baseUrl": "./src",
"strictNullChecks": false,
"noEmit": true,
"jsx": "preserve",
- "incremental": false
+ "incremental": false,
+ "baseUrl": ".",
+ "paths": {
+ "assets/*": ["./src/assets/*"],
+ "components/*": ["./src/components/*"],
+ "lib/*": ["./src/lib/*"],
+ "pages/*": ["./src/pages/*"],
+ "queries/*": ["./src/queries/*"],
+ "store/*": ["./src/store/*"],
+ "styles/*": ["./src/styles/*"]
+ }
},
"include": ["**/*.ts", "**/*.tsx", "**/*.js", "**/*.jsx", "next-env.d.ts"],
"exclude": ["node_modules"]