From 9d846a09ff7538054bcdf5e34b4f2d32d5c1974b Mon Sep 17 00:00:00 2001 From: "Dominik G." Date: Mon, 21 Oct 2024 22:32:58 +0200 Subject: [PATCH] fix: svelte5 has been released, switch vite-plugin-svelte to main (#329) fix: svelte5 has been released, switch vite-plugin-svelte to main branch again --- builds/vite-plugin-svelte.ts | 5 +---- tests/vite-plugin-svelte.ts | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/builds/vite-plugin-svelte.ts b/builds/vite-plugin-svelte.ts index 103224de..bcfc326f 100755 --- a/builds/vite-plugin-svelte.ts +++ b/builds/vite-plugin-svelte.ts @@ -2,13 +2,10 @@ import { runInRepo } from '../utils.ts' import type { RunOptions } from '../types.d.ts' export async function build(options: RunOptions) { - if (options.viteMajor < 4) { - return - } return runInRepo({ ...options, repo: 'sveltejs/vite-plugin-svelte', - branch: 'v3', + branch: 'main', overrides: { svelte: 'latest', }, diff --git a/tests/vite-plugin-svelte.ts b/tests/vite-plugin-svelte.ts index 4d6677d3..04f6c177 100755 --- a/tests/vite-plugin-svelte.ts +++ b/tests/vite-plugin-svelte.ts @@ -5,7 +5,7 @@ export async function test(options: RunOptions) { await runInRepo({ ...options, repo: 'sveltejs/vite-plugin-svelte', - branch: 'v3', + branch: 'main', overrides: { svelte: 'latest', },