Skip to content

Commit

Permalink
Fix vitePreprocess import in init script (#1279)
Browse files Browse the repository at this point in the history
  • Loading branch information
SeppahBaws authored Mar 7, 2024
1 parent 0ed0626 commit 50a9fa1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/big-pianos-pull.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'houdini': patch
---

Fix init script to use the correct vitePreprocess import
2 changes: 1 addition & 1 deletion packages/houdini/src/cmd/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ async function svelteConfig(targetPath: string, typescript: boolean) {
const svelteConfigPath = path.join(targetPath, 'svelte.config.js')

const newContentTs = `import adapter from '@sveltejs/adapter-auto';
import { vitePreprocess } from '@sveltejs/kit/vite';
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
/** @type {import('@sveltejs/kit').Config} */
const config = {
Expand Down

0 comments on commit 50a9fa1

Please sign in to comment.