blob: 5ba580137403a117aa0d4f94125a5b8c46d0f2e9 [file] [log] [blame]
Helgefd9bb4f2026-07-30 11:02:55 +02001import { defineConfig } from 'vite';
2import path from 'path';
3
4const scssDir = path.resolve(__dirname, '../../../scss'); // Path to your SCSS directory
5
6export default defineConfig({
7
8 server: {
9 fs: {
10 allow: [
11 scssDir,
12 __dirname
13 ]
14 },
15 port: 3000
16 },
17
18
19 css: {
20 preprocessorOptions: {
21 scss: {
22 loadPaths: [scssDir]
23 }
24 }
25 }
26});
27