aboutsummaryrefslogtreecommitdiff
path: root/vite.config.ts
blob: 8c10f71ee82cb80b66a8ee7c09c7de0ba1fb0cdd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { sveltekit } from '@sveltejs/kit/vite';
import { defineConfig } from 'vite';
import svg from '@poppanator/sveltekit-svg'

export default defineConfig({
  plugins: [
    sveltekit(),
    svg()
  ],
  css: {
    preprocessorOptions: {
      scss: {
        api: 'modern',
        prependData: `@use 'src/app.scss' as *;`,
      }
    }
  }
});