I used to use this a lot but it breaks autocomplete for modules imported with this alias in v. code. It also breaks Ctrl+click to open the file clicking the imported module. Anyone has a fix for this?
-
-
-
Make a jsconfig.json file in your project root and set the "path" property to what your webpack aliases are. Check out the docs herehttps://code.visualstudio.com/docs/languages/jsconfig …
- Još 2 druga odgovora
Novi razgovor -
-
-
I put NODE_PATH=src/ in my .env
-
Cool! I haven't tried that. I'm sure it's totally valid to do that too!

.
Kraj razgovora
Novi razgovor -
-
-
Better protip: add `"src": "link:path/to/src"` to your dependencies instead, and it'll work out of the box with everything with no configuration
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.