scratch/svelte.config.js
2026-05-11 22:00:11 -04:00

19 lines
No EOL
406 B
JavaScript

import { vitePreprocess } from '@astrojs/svelte';
import path from 'path';
import { fileURLToPath } from 'url';
const __dirname = path.dirname(fileURLToPath(import.meta.url));
export default {
preprocess: vitePreprocess({
style: {
css: {
preprocessorOptions: {
scss: {
loadPaths: [path.resolve(__dirname, 'src/styles')]
}
}
}
}
})
}