Fix SvelteKit
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
7fbfbbbf35
commit
2cbc24f293
@ -1,16 +1,30 @@
|
||||
//import adapter from '@sveltejs/adapter-node';
|
||||
//import sveltePreprocess from 'svelte-preprocess';
|
||||
//
|
||||
///** @type {import('@sveltejs/kit').Config} */
|
||||
//const config = {
|
||||
// // Consult https://github.com/sveltejs/svelte-preprocess
|
||||
// // for more information about preprocessors
|
||||
// preprocess: [
|
||||
// sveltePreprocess({postcss: true})
|
||||
// ],
|
||||
// kit: {
|
||||
// adapter: adapter(),
|
||||
// },
|
||||
//};
|
||||
//
|
||||
//export default config;
|
||||
import adapter from '@sveltejs/adapter-node';
|
||||
import sveltePreprocess from 'svelte-preprocess';
|
||||
|
||||
/** @type {import('@sveltejs/kit').Config} */
|
||||
const config = {
|
||||
// Consult https://github.com/sveltejs/svelte-preprocess
|
||||
// for more information about preprocessors
|
||||
preprocess: [
|
||||
sveltePreprocess({postcss: true})
|
||||
],
|
||||
kit: {
|
||||
adapter: adapter(),
|
||||
},
|
||||
}
|
||||
};
|
||||
|
||||
export default config;
|
||||
|
@ -0,0 +1,8 @@
|
||||
import { sveltekit } from '@sveltejs/kit/vite';
|
||||
|
||||
/** @type {import('vite').UserConfig} */
|
||||
const config = {
|
||||
plugins: [sveltekit()]
|
||||
};
|
||||
|
||||
export default config;
|
Loading…
Reference in New Issue