Skip to content

Commit

Permalink
Breaking change fix - writeStatic is deprecated
Browse files Browse the repository at this point in the history
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
sveltejs/kit#5618
  • Loading branch information
elron authored Aug 10, 2022
1 parent d0ee6c7 commit 4910f27
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ export default function ({
builder.rimraf(assets)
builder.rimraf(pages)

builder.writeStatic(assets)
builder.writeClient(assets)
builder.writePrerendered(pages, { fallback })

Expand Down

0 comments on commit 4910f27

Please sign in to comment.