2022-06-30 23:08:52 +03:00
|
|
|
// import adapter from '@sveltejs/adapter-auto';
|
|
|
|
import adapter from '@sveltejs/adapter-node';
|
2022-06-22 00:30:11 +03:00
|
|
|
import preprocess from 'svelte-preprocess';
|
|
|
|
|
|
|
|
/** @type {import('@sveltejs/kit').Config} */
|
|
|
|
const config = {
|
|
|
|
// Consult https://github.com/sveltejs/svelte-preprocess
|
|
|
|
// for more information about preprocessors
|
|
|
|
preprocess: [
|
|
|
|
preprocess({
|
|
|
|
postcss: true
|
|
|
|
})
|
|
|
|
],
|
|
|
|
kit: {
|
2022-07-04 23:08:13 +03:00
|
|
|
adapter: adapter(),
|
|
|
|
vite: {
|
|
|
|
test: {
|
2022-07-05 00:52:54 +03:00
|
|
|
globals: true,
|
|
|
|
environment: 'happy-dom',
|
|
|
|
setupFiles: ['setupTest.js']
|
2022-07-04 23:08:13 +03:00
|
|
|
}
|
|
|
|
}
|
2022-06-22 00:30:11 +03:00
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
export default config;
|