25 lines
No EOL
496 B
JavaScript
25 lines
No EOL
496 B
JavaScript
// @ts-check
|
|
import { defineConfig } from 'astro/config';
|
|
import path from 'path';
|
|
|
|
import svelte from '@astrojs/svelte';
|
|
|
|
// https://astro.build/config
|
|
export default defineConfig({
|
|
vite: {
|
|
resolve: {
|
|
alias: {
|
|
'@components': path.resolve('./src/components'),
|
|
}
|
|
},
|
|
css: {
|
|
preprocessorOptions: {
|
|
scss: {
|
|
loadPaths: [path.resolve('./src/styles')]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
integrations: [svelte()],
|
|
devToolbar: { enabled: false }
|
|
}); |