Open laurib opened 3 years ago
I have defined paths in my tscongif that i can import from src subfolders like "components", "containers"
"compilerOptions": { "baseUrl": ".", "paths": { "*": ["src/*"] } }
right now i have to define all folders as aliases in snowpack config..
For vite I found a package vite-tsconfig-paths that solves this issue. there is a similar one for snowpack tsconfig-paths-snowpack-plugin, but I couldn't make it work.
I have defined paths in my tscongif that i can import from src subfolders like "components", "containers"
right now i have to define all folders as aliases in snowpack config..