Skip to content

Commit

Permalink
node version resolved
Browse files Browse the repository at this point in the history
  • Loading branch information
lakshay007 committed Sep 5, 2024
1 parent 105211e commit 40da0a4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 deletions.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,8 @@
"svelte-icons-pack": "^2.1.0",
"svelte-particles": "^2.12.0",
"tsparticles": "^2.12.0"
},
"engines": {
"node": "18.x"
}
}
14 changes: 3 additions & 11 deletions svelte.config.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,7 @@
import adapter from '@sveltejs/adapter-auto';
import { vitePreprocess } from '@sveltejs/kit/vite';
import adapter from '@sveltejs/adapter-vercel';

/** @type {import('@sveltejs/kit').Config} */
const config = {
export default {
kit: {
// adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.
// If your environment is not supported or you settled on a specific environment, switch out the adapter.
// See https://kit.svelte.dev/docs/adapters for more information about adapters.
adapter: adapter()
},
preprocess: vitePreprocess()
}
};

export default config;

0 comments on commit 40da0a4

Please sign in to comment.