We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have a SvelteKit project where I have added vite-imagetools like this in vite.config.ts:
vite.config.ts
import { sveltekit } from '@sveltejs/kit/vite'; import type { UserConfig } from 'vite'; import { imagetools } from 'vite-imagetools'; const config: UserConfig = { plugins: [ imagetools(), sveltekit(), ] }; export default config;
Building the project works correctly, but VS Code complains as soon as I add a query param:
The same issue shows if I add ?format=webp and also if I use direct paths (without $lib alias)
?format=webp
Is there some way to add the annotations to VS Code?
The text was updated successfully, but these errors were encountered:
There are several strategies in #160 that should help you.
Sorry, something went wrong.
Thanks! I saw that there is also #532 on the same topic!
closing as duplicate of #160
No branches or pull requests
I have a SvelteKit project where I have added vite-imagetools like this in
vite.config.ts
:Building the project works correctly, but VS Code complains as soon as I add a query param:
The same issue shows if I add
?format=webp
and also if I use direct paths (without $lib alias)Is there some way to add the annotations to VS Code?
The text was updated successfully, but these errors were encountered: