From bb3b47bc065852064857996e8b5953a41d5f0b7c Mon Sep 17 00:00:00 2001 From: Norton Andreev Date: Thu, 22 Aug 2024 15:46:48 +0300 Subject: [PATCH] explorer: 'preprocess' is deprecated Resolves #2181 --- explorer/svelte.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/explorer/svelte.config.js b/explorer/svelte.config.js index c6c1ee7048..3953510e09 100644 --- a/explorer/svelte.config.js +++ b/explorer/svelte.config.js @@ -1,7 +1,7 @@ import adapter from "@sveltejs/adapter-static"; import autoprefixer from "autoprefixer"; import postCSSNested from "postcss-nested"; -import preprocess from "svelte-preprocess"; +import { sveltePreprocess } from "svelte-preprocess"; import { loadEnv } from "vite"; const env = loadEnv("", process.cwd()); @@ -17,7 +17,7 @@ const config = { }, }, preprocess: [ - preprocess({ + sveltePreprocess({ postcss: { plugins: [autoprefixer, postCSSNested], },