From 4910f278d872e957b434e08cb2dabf2f6750e2b9 Mon Sep 17 00:00:00 2001 From: Elron Date: Thu, 11 Aug 2022 02:39:42 +0300 Subject: [PATCH] Breaking change fix - writeStatic is deprecated Have writeClient write both the client and static files and remove writeStatic. This is a breaking change for adapter authors. [breaking] remove writeStatic to align with Vite #5618 https://github.com/sveltejs/kit/pull/5618 --- index.js | 1 - 1 file changed, 1 deletion(-) diff --git a/index.js b/index.js index 8bf8439..e657b4f 100644 --- a/index.js +++ b/index.js @@ -42,7 +42,6 @@ export default function ({ builder.rimraf(assets) builder.rimraf(pages) - builder.writeStatic(assets) builder.writeClient(assets) builder.writePrerendered(pages, { fallback })