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
vite: { optimizeDeps: { include: ['just-throttle', 'dayjs'] } }
I had put this dependency inside kite: {} in svelte.config.js which gave me errors.
kite: {}
Found the solution from stack overflow
I needed to put them inside export default defineConfig({ }) in vite.config.js file like this,
export default defineConfig({ })
export default defineConfig({ plugins: [sveltekit()], vite: { optimizeDeps: { include: ['just-throttle', 'dayjs'] } } });
The text was updated successfully, but these errors were encountered:
No branches or pull requests
vite: { optimizeDeps: { include: ['just-throttle', 'dayjs'] } }
I had put this dependency inside
kite: {}
in svelte.config.js which gave me errors.Found the solution from stack overflow
I needed to put them inside
export default defineConfig({ })
in vite.config.js file like this,export default defineConfig({ plugins: [sveltekit()], vite: { optimizeDeps: { include: ['just-throttle', 'dayjs'] } } });
The text was updated successfully, but these errors were encountered: