aboutsummaryrefslogtreecommitdiff
path: root/vite.config.ts
diff options
context:
space:
mode:
Diffstat (limited to 'vite.config.ts')
-rw-r--r--vite.config.ts21
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