Ensure import actions use the correct paths (#3093)

* drop unnecessary rootDir / paths in tsconfig

This was causing issues with automatic imports that pointed to
`utils/foo` instead of `../utils/foo` and caused the build to break.

* drop unnecessary tsconfig configuration from `@headlessui/vue`
This commit is contained in:
Robin Malfait
2024-04-11 17:28:57 +02:00
committed by GitHub
parent ed98bad7ae
commit 92a69ef687
2 changed files with 0 additions and 12 deletions
-6
View File
@@ -6,7 +6,6 @@
"importHelpers": true,
"declaration": true,
"sourceMap": true,
"rootDir": "./src",
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
@@ -14,11 +13,6 @@
"noFallthroughCasesInSwitch": true,
"downlevelIteration": true,
"moduleResolution": "node",
"baseUrl": "./",
"paths": {
"@headlessui/react": ["src"],
"*": ["src/*", "node_modules/*"]
},
"jsx": "react",
"esModuleInterop": true,
"target": "ESNext",
-6
View File
@@ -6,7 +6,6 @@
"importHelpers": true,
"declaration": true,
"sourceMap": true,
"rootDir": "./src",
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
@@ -14,11 +13,6 @@
"noFallthroughCasesInSwitch": true,
"downlevelIteration": true,
"moduleResolution": "node",
"baseUrl": "./",
"paths": {
"@headlessui/vue": ["src"],
"*": ["src/*", "node_modules/*"]
},
"esModuleInterop": true,
"target": "ESNext",
"allowJs": true,