Skip to content

Commit

Permalink
explorer: 'preprocess' is deprecated
Browse files Browse the repository at this point in the history
Resolves #2181
  • Loading branch information
nortonandreev committed Aug 22, 2024
1 parent 20a9006 commit bb3b47b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions explorer/svelte.config.js
Original file line number Diff line number Diff line change
@@ -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());
Expand All @@ -17,7 +17,7 @@ const config = {
},
},
preprocess: [
preprocess({
sveltePreprocess({
postcss: {
plugins: [autoprefixer, postCSSNested],
},
Expand Down

0 comments on commit bb3b47b

Please sign in to comment.