You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
808 B
34 lines
808 B
import adapter from '@sveltejs/adapter-static';
|
|
import { vitePreprocess } from '@sveltejs/kit/vite';
|
|
|
|
const base = '/containers/kyllianchabanon-portfolio';
|
|
|
|
/** @type {import('@sveltejs/kit').Config} */
|
|
const config = {
|
|
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
|
|
// for more information about preprocessors
|
|
preprocess: vitePreprocess(),
|
|
vitePlugin: {
|
|
inspector: {
|
|
showToggleButton: 'always'
|
|
}
|
|
},
|
|
kit: {
|
|
adapter: adapter({ fallback: '404.html' }),
|
|
alias: {
|
|
$lib: './src/lib',
|
|
'@data': './src/lib/data',
|
|
'@components': './src/lib/components',
|
|
'@md': './src/lib/md',
|
|
'@stores': './src/lib/stores',
|
|
'@utils': './src/lib/utils'
|
|
},
|
|
paths: {
|
|
relative: false,
|
|
base: process.env.NODE_ENV === 'production' ? '' : ''
|
|
}
|
|
}
|
|
};
|
|
|
|
export default config;
|