From 800fddae43b43086645c7fbed8b26b1c5a5cad93 Mon Sep 17 00:00:00 2001 From: Andre Loker Date: Mon, 25 Jul 2022 12:43:17 +0200 Subject: [PATCH] feat: remove call to writeStatic writeStatic has been removed from the adapter API See https://github.com/sveltejs/kit/pull/5618 fixes https://github.com/geoffrich/svelte-adapter-azure-swa/issues/52 --- index.js | 1 - 1 file changed, 1 deletion(-) diff --git a/index.js b/index.js index 5ec3c7ba..02b20949 100644 --- a/index.js +++ b/index.js @@ -114,7 +114,6 @@ export default function ({ debug = false, customStaticWebAppConfig = {} } = {}) await esbuild.build(default_options); builder.log.minor('Copying assets...'); - builder.writeStatic(staticDir); builder.writeClient(staticDir); builder.writePrerendered(staticDir);