diff options
| author | netop://ウィビ <paul@webb.page> | 2026-04-26 20:18:30 -0700 |
|---|---|---|
| committer | netop://ウィビ <paul@webb.page> | 2026-04-26 20:18:30 -0700 |
| commit | 3c06c95f396b6e911076bc3291d5855ed01b5caa (patch) | |
| tree | 17cd218339c52fbeee93d931303b04a3ff294f8b /vite.config.ts | |
| parent | f059d97ab7f6d74d61139ac698cb871be7cb632e (diff) | |
| download | graphiql-3c06c95f396b6e911076bc3291d5855ed01b5caa.tar.gz graphiql-3c06c95f396b6e911076bc3291d5855ed01b5caa.zip | |
cleanup and ready for launch
Diffstat (limited to 'vite.config.ts')
| -rw-r--r-- | vite.config.ts | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/vite.config.ts b/vite.config.ts index be9ad40..01543da 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -1,8 +1,25 @@ -import { svelte } from "@sveltejs/vite-plugin-svelte"; + + + +/*** IMPORT ------------------------------------------- ***/ + import { defineConfig } from "vite"; +import { svelte, vitePreprocess } from "@sveltejs/vite-plugin-svelte"; + +/*** EXPORT ------------------------------------------- ***/ export default defineConfig({ - plugins: [svelte()], + plugins: [ + svelte({ + preprocess: vitePreprocess({ + style: { + scss: { + loadPaths: ["node_modules"] + } + } + }) + }) + ], root: "playground", server: { port: 5173 |