Skip to content

Commit

Permalink
check
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann committed Jul 19, 2022
1 parent cfe44a8 commit b37d98e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/kit/src/core/adapt/builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,15 +145,15 @@ export function create_builder({ config, build_data, prerendered, log }) {
},

// TODO remove these methods for 1.0
writeStatic(dest) {
// @ts-expect-error
writeStatic() {
throw new Error(
`writeStatic has been removed. Please ensure you are using the latest version of ${
config.kit.adapter.name || 'your adapter'
}`
);
},

// @ts-expect-error
async prerender() {
throw new Error(
'builder.prerender() has been removed. Prerendering now takes place in the build phase — see builder.prerender and builder.writePrerendered'
Expand Down

0 comments on commit b37d98e

Please sign in to comment.