KkosmetickySalon/svelte.config.js

36 lines
666 B
JavaScript
Raw Normal View History

2024-03-16 09:08:05 +00:00
import adapter from '@sveltejs/adapter-node';
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: {
2024-03-19 21:20:38 +00:00
adapter: adapter({
out: 'build',
precompress: false
}),
// Aliases need tsconfig explicit inclusion
alias: {
$lib: './src/lib',
$root: './',
$src: './src',
$routes: './src/routes',
},
2024-03-16 09:08:05 +00:00
env: {
publicPrefix: "PUBLIC_",
},
// https://kit.svelte.dev/docs/configuration#alias
},
};
export default config;