Skip to content

Commit

Permalink
fix adapter config
Browse files Browse the repository at this point in the history
  • Loading branch information
idleberg committed Dec 1, 2024
1 parent dc8cc64 commit 8bceaa2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions svelte.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import ghPages from '@sveltejs/adapter-static';
import netlify from '@sveltejs/adapter-netlify';
import sveltePreprocess from 'svelte-preprocess';
import { sveltePreprocess } from 'svelte-preprocess';

/** @type {import('@sveltejs/kit').Config} */
const config = {
Expand All @@ -12,7 +12,7 @@ const config = {

kit: {
adapter: process.env.BUILD_ENV === 'netlify' ?
adapter({
netlify({
edge: false,
prerender: {
force: true
Expand Down

0 comments on commit 8bceaa2

Please sign in to comment.