-
-
Notifications
You must be signed in to change notification settings - Fork 967
Closed as not planned
Closed as not planned
Copy link
Description
UnoCSS version
0.62.2
Describe the bug
When I import a file using the tsconfig paths, unocss extension seems to hang and stop working until I reload the vscode window. It does not come back even if I change back to a normal import. The code runs fine, types and autocomplete for file imports works, but unocss extension just becomes nonfunctional. It does not print any error on vscode outputs (unocss, extensions, etc...)
I'm using a basic monorepo setup.
Code_5wxo0ZDWBl.mp4
Here is the tsconfig I'm using:
{
"$schema": "https://json.schemastore.org/tsconfig",
"compilerOptions": {
"target": "ESNext",
"module": "ESNext",
"moduleResolution": "node",
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"jsx": "preserve",
"jsxImportSource": "solid-js",
"types": ["vite/client"],
"noEmit": true,
"isolatedModules": true,
"skipLibCheck": true,
"baseUrl": ".",
"paths": {
"~": ["."],
"~/*": ["./*"],
"@": ["../.."],
"@/*": ["../../*"]
}
},
"include": ["**/*", "../../utils"]
}
Reproduction
https://github.com/rafael-lua/repro-unocss-extension-issue
Instructions on the readme.
System Info
Windows 11 (wsl2), Solid Framework, Monorepo with Changesets, typescript 5.3.3
Validations
- Read the Contributing Guidelines.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- The provided reproduction is a minimal reproducible example of the bug.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels