-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsvelte.config.js
More file actions
35 lines (31 loc) · 865 Bytes
/
Copy pathsvelte.config.js
File metadata and controls
35 lines (31 loc) · 865 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
import vercel from '@sveltejs/adapter-vercel';
import preprocess from 'svelte-preprocess';
/** @type {import('@sveltejs/kit').Config} */
const config = {
// Consult https://github.com/sveltejs/svelte-preprocess
// for more information about preprocessors
extensions: [
'.svelte',
'.svx',
],
preprocess: [
preprocess({
postcss: true,
}),
],
kit: {
adapter: vercel({
// if true, will deploy the app using edge functions
// (https://vercel.com/docs/concepts/functions/edge-functions)
// rather than serverless functions
edge: false,
// an array of dependencies that esbuild should treat
// as external when bundling functions
external: [],
// if true, will split your app into multiple functions
// instead of creating a single one for the entire app
split: false
}),
}
};
export default config;