Skip to content

Commit

Permalink
chore: use named import of sveltePreprocess (#4696)
Browse files Browse the repository at this point in the history
  • Loading branch information
JinIgarashi authored Jan 8, 2025
1 parent b23bc3a commit 6d68c1e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/cold-squids-obey.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"geohub": patch
---

chore: use named import of sveltePreprocess
4 changes: 2 additions & 2 deletions sites/geohub/svelte.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import adapter from '@sveltejs/adapter-node';
import preprocess from 'svelte-preprocess';
import { sveltePreprocess } from 'svelte-preprocess';
import { resolve } from 'path';
import { readFileSync } from 'fs';
import { fileURLToPath } from 'url';
Expand All @@ -9,7 +9,7 @@ const pkg = JSON.parse(json);

/** @type {import('@sveltejs/kit').Config} */
const config = {
preprocess: preprocess({}),
preprocess: sveltePreprocess({}),
kit: {
adapter: adapter({
out: 'build',
Expand Down
4 changes: 2 additions & 2 deletions sites/static-image-api/svelte.config.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import adapter from '@sveltejs/adapter-node';
import preprocess from 'svelte-preprocess';
import { sveltePreprocess } from 'svelte-preprocess';

/** @type {import('@sveltejs/kit').Config} */
const config = {
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
// for more information about preprocessors
preprocess: preprocess(),
preprocess: sveltePreprocess(),

kit: {
// adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.
Expand Down

0 comments on commit 6d68c1e

Please sign in to comment.