-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsvelte.config.js
33 lines (29 loc) · 865 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
33
import preprocess from "svelte-preprocess";
import adapter from "@sveltejs/adapter-vercel";
import path from 'path';
/** @type {import('@sveltejs/kit').Config} */
const config = {
kit: {
adapter: adapter({
runtime: 'edge'
}),
alias: {
$entities: 'src/lib/entities',
$features: 'src/lib/features',
$processes: 'src/lib/processes',
$widgets: 'src/lib/widgets',
$stores: 'src/lib/shared/stores',
$shared: 'src/lib/shared',
// legacy pomodoro timer
'@coreEntities': path.resolve('./src/lib/app/entities'),
'@coreFeatures': path.resolve('./src/lib/app/features'),
'@coreProcesses': path.resolve('./src/lib/app/processes'),
'@coreShared': path.resolve('./src/lib/app/shared'),
'@coreWidgets': path.resolve('./src/lib/app/widgets'),
}
},
preprocess: preprocess({
postcss: true
})
};
export default config;