Skip to content

Commit 92a69ef

Browse files
authored
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`
1 parent ed98bad commit 92a69ef

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

packages/@headlessui-react/tsconfig.json

-6
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,13 @@
66
"importHelpers": true,
77
"declaration": true,
88
"sourceMap": true,
9-
"rootDir": "./src",
109
"strict": true,
1110
"noUnusedLocals": true,
1211
"noUnusedParameters": true,
1312
"noImplicitReturns": true,
1413
"noFallthroughCasesInSwitch": true,
1514
"downlevelIteration": true,
1615
"moduleResolution": "node",
17-
"baseUrl": "./",
18-
"paths": {
19-
"@headlessui/react": ["src"],
20-
"*": ["src/*", "node_modules/*"]
21-
},
2216
"jsx": "react",
2317
"esModuleInterop": true,
2418
"target": "ESNext",

packages/@headlessui-vue/tsconfig.json

-6
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,13 @@
66
"importHelpers": true,
77
"declaration": true,
88
"sourceMap": true,
9-
"rootDir": "./src",
109
"strict": true,
1110
"noUnusedLocals": true,
1211
"noUnusedParameters": true,
1312
"noImplicitReturns": true,
1413
"noFallthroughCasesInSwitch": true,
1514
"downlevelIteration": true,
1615
"moduleResolution": "node",
17-
"baseUrl": "./",
18-
"paths": {
19-
"@headlessui/vue": ["src"],
20-
"*": ["src/*", "node_modules/*"]
21-
},
2216
"esModuleInterop": true,
2317
"target": "ESNext",
2418
"allowJs": true,

0 commit comments

Comments
 (0)