thomaswilson-sveltekit/svelte.config.js

20 lines
484 B
JavaScript
Raw Normal View History

2026-02-21 10:03:22 +00:00
import adapter from '@sveltejs/adapter-node';
2022-04-16 10:43:45 +00:00
import preprocess from 'svelte-preprocess';
/** @type {import('@sveltejs/kit').Config} */
const config = {
2026-03-01 08:52:30 +00:00
extensions: ['.svelte', '.md'],
// Consult https://github.com/sveltejs/svelte-preprocess
// for more information about preprocessors
preprocess: [preprocess()],
2022-04-16 10:43:45 +00:00
2026-03-01 08:52:30 +00:00
kit: {
adapter: adapter({ split: false }),
env: {
publicPrefix: 'PUBLIC_',
},
},
2022-04-16 10:43:45 +00:00
};
export default config;