blob: 5ba580137403a117aa0d4f94125a5b8c46d0f2e9 [file] [log] [blame]
import { defineConfig } from 'vite';
import path from 'path';
const scssDir = path.resolve(__dirname, '../../../scss'); // Path to your SCSS directory
export default defineConfig({
server: {
fs: {
allow: [
scssDir,
__dirname
]
},
port: 3000
},
css: {
preprocessorOptions: {
scss: {
loadPaths: [scssDir]
}
}
}
});