-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsvelte.config.js
32 lines (29 loc) · 932 Bytes
/
svelte.config.js
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
//import adapter from '@sveltejs/adapter-auto';
import vercel from '@sveltejs/adapter-vercel';
import preprocess from 'svelte-preprocess';
import path from 'path';
/** @type {import('@sveltejs/kit').Config} */
const config = {
// Consult https://github.com/sveltejs/svelte-preprocess
// for more information about preprocessors
preprocess: [
preprocess({
postcss: true
})
],
kit: {
adapter: vercel(),
alias: {
$atoms: path.resolve('./src/lib/components/atoms'),
$components: path.resolve('./src/lib/components'),
$functions: path.resolve('./src/lib/functions'),
$molecules: path.resolve('./src/lib/components/molecules'),
$organisms: path.resolve('./src/lib/components/organisms'),
$settings: path.resolve('./src/lib/settings'),
$stores: path.resolve('./src/lib/stores'),
$types: path.resolve('./src/lib/types'),
$utils: path.resolve('./src/lib/utils')
}
}
};
export default config;