navneetsharmaui / sveltekit-starter

Sveltekit starter project created with sveltekit, typescript, tailwindcss, postcss, husky, and storybook. The project has the structure set up for the scaleable web application.
https://sveltekit-starter-one.vercel.app
MIT License
609 stars 100 forks source link

Fix svelte.config.js to support the latest version of Sveltekit #27

Closed SnowballSH closed 3 years ago

SnowballSH commented 3 years ago

According to https://github.com/sveltejs/kit/pull/2380 and https://github.com/sveltejs/kit/issues/2185 , In version 1.0.0-next.165 and up, prerender.pages is now prerender.entries. I ran the latest version of sveltekit on this template and it failed with error:

config.kit.prerender.pages has been renamed to entries.

Please consider merging this if people are using next... I'm not sure if this project is targeting stable, so I'll leave the small change here. Thanks.

vercel[bot] commented 3 years ago

Someone is attempting to deploy a commit to a Personal Account owned by @navneetsharmaui on Vercel.

@navneetsharmaui first needs to authorize it.

navneetsharmaui commented 3 years ago

@SnowballSH I'm targeting some major changes for this repository. Thanks for creating the PR though. I will close this PR as the version for sveltekit in the package.json is still 1.0.0-next.142

SnowballSH commented 3 years ago

Alright, no problem. Thanks for creating this template :)