Skip to content

Commit

Permalink
fix: make getBuilder optional (#41)
Browse files Browse the repository at this point in the history
* fix: make getBuilder optional

* update CHANGELOG
  • Loading branch information
dai-shi committed May 23, 2023
1 parent 50febf9 commit 07ac23e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Change Log

## [Unreleased]
### Changed
- fix: make getBuilder optional #41

## [0.10.0] - 2023-05-22
### Added
Expand Down
2 changes: 1 addition & 1 deletion src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ export type unstable_GetCustomModules = () => Promise<{
[name: string]: string;
}>;

export function defineEntries(getEntry: GetEntry, getBuilder: GetBuilder) {
export function defineEntries(getEntry: GetEntry, getBuilder?: GetBuilder) {
return { getEntry, getBuilder };
}

1 comment on commit 07ac23e

@vercel
Copy link

@vercel vercel bot commented on 07ac23e May 23, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

waku – ./

waku.vercel.app
waku-git-main-daishi.vercel.app
waku-daishi.vercel.app

Please sign in to comment.