aboutsummaryrefslogtreecommitdiff
path: root/vite.config.ts
blob: 01543da87879301ab82009ad007bb160bd5d1888 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*** IMPORT ------------------------------------------- ***/

import { defineConfig } from "vite";
import { svelte, vitePreprocess } from "@sveltejs/vite-plugin-svelte";

/*** EXPORT ------------------------------------------- ***/

export default defineConfig({
  plugins: [
    svelte({
      preprocess: vitePreprocess({
        style: {
          scss: {
            loadPaths: ["node_modules"]
          }
        }
      })
    })
  ],
  root: "playground",
  server: {
    port: 5173
  }
});