Skip to content

Commit b29d49c

Browse files
committed
fix: Await prepare:types hook
1 parent c0a0edb commit b29d49c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/wxt/src/core/utils/building/generate-wxt-dir.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export async function generateTypesDir(
6363
entries.push(await getTsConfigEntry());
6464

6565
// Let modules add more entries
66-
wxt.hooks.callHook('prepare:types', wxt, entries);
66+
await wxt.hooks.callHook('prepare:types', wxt, entries);
6767

6868
// Add main declaration file, not editable
6969
entries.push(getMainDeclarationEntry(entries));

0 commit comments

Comments
 (0)