Quantcast
Channel: Active questions tagged svelte - Stack Overflow
Viewing all articles
Browse latest Browse all 1541

svelte.config.js: Unexpected option config.kit.vite

$
0
0

I just started learning Svelte/kit, I stated a small project to learn, I wanted a calendar. I found svelte-calendar package in npm. I installed the package,

npm i svelte-calendar

And I set this in svelte.config.js

import adapter from '@sveltejs/adapter-auto';const config = {    kit: {        adapter: adapter(),        vite: {            optimizeDeps: {                include: ['just-throttle', 'dayjs']            }        }    }};export default config;

Why am I getting this error when I run

npm run dev

This is my fist time working with Svelte-kit and npm so I don't have much idea on this.


Viewing all articles
Browse latest Browse all 1541

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>