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:
@@ -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,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,
|
||||
|
||||
Reference in New Issue
Block a user