-
-
Notifications
You must be signed in to change notification settings - Fork 162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Import assets with alias #146
Comments
Do you have a repo you can link to? Or reproduction? Or could you add something to the test/fixtures folder in a PR? |
@webpro made a demo repository https://github.com/ds-pankov/issue-demo. Alias is configured in vite.config.ts. |
🚀 This issue has been resolved in v2.14.2. See Release 2.14.2 for release notes. |
When TypeScript doesn't resolve such a module I'm using a brittle heuristic to decide whether its importing an external dependency or not. When using the |
Thanks. |
Hi, thanks for the good tool.
I can't exclude the import of assets (pictures) with the
ts
+vite
alias. How can you defeat this?tsconfig:
vite.config.ts:
The text was updated successfully, but these errors were encountered: