From 3c06c95f396b6e911076bc3291d5855ed01b5caa Mon Sep 17 00:00:00 2001 From: "netop://ウィビ" Date: Sun, 26 Apr 2026 20:18:30 -0700 Subject: cleanup and ready for launch --- vite.config.ts | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) (limited to 'vite.config.ts') 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 -- cgit v1.2.3