| Helge | e8a39b1 | 2026-04-16 13:37:09 +0200 | [diff] [blame] | 1 | import { defineConfig } from 'vite'; |
| 2 | import path from 'path'; | ||||
| 3 | |||||
| 4 | const scssDir = path.resolve(__dirname, 'dev/scss'); // Path to your SCSS directory | ||||
| 5 | |||||
| 6 | export default defineConfig({ | ||||
| 7 | css: { | ||||
| 8 | preprocessorOptions: { | ||||
| 9 | scss: { | ||||
| 10 | loadPaths: [scssDir] | ||||
| 11 | } | ||||
| 12 | } | ||||
| 13 | }, | ||||
| 14 | server: { | ||||
| 15 | port: 3000 | ||||
| 16 | } | ||||
| 17 | }); | ||||
| 18 | |||||