2022-04-28 23:31:09 +07:00
|
|
|
import adapter from '@sveltejs/adapter-node';
|
2021-12-23 05:34:24 +07:00
|
|
|
import preprocess from 'svelte-preprocess';
|
|
|
|
|
|
|
|
/** @type {import('@sveltejs/kit').Config} */
|
|
|
|
const config = {
|
2022-04-28 23:31:09 +07:00
|
|
|
preprocess: [
|
|
|
|
preprocess({
|
|
|
|
postcss: true
|
|
|
|
})
|
|
|
|
],
|
2021-12-23 05:34:24 +07:00
|
|
|
|
|
|
|
kit: {
|
|
|
|
adapter: adapter(),
|
|
|
|
|
|
|
|
files: {
|
|
|
|
assets: 'static',
|
|
|
|
hooks: 'web_src/hooks',
|
|
|
|
lib: 'web_src/lib',
|
|
|
|
routes: 'web_src/routes',
|
|
|
|
template: 'web_src/app.html'
|
|
|
|
},
|
|
|
|
|
|
|
|
vite: {
|
|
|
|
server: {
|
|
|
|
fs: {
|
|
|
|
allow: ['./web_src']
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
export default config;
|