Skip to content

Commit 023e608

Browse files
committed
Fix build error
1 parent 22e26b7 commit 023e608

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/utils.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
import { find as findTimezone } from 'geo-tz';
1+
// Bun build fails if this is an import, temporary workaround is to use dynamic import
2+
// import { find as findTimezone } from 'geo-tz';
3+
const { find: findTimezone } = await import('geo-tz');
24

35
import type { SheetsSleepEntry } from "./types";
46

0 commit comments

Comments
 (0)