From be642431c1ba3a2929c0ea3098466394907fee75 Mon Sep 17 00:00:00 2001 From: John Spurlock <47259736+johnspurlock-skymethod@users.noreply.github.com> Date: Fri, 12 Jan 2024 18:29:06 -0600 Subject: [PATCH] Fix build_custom example. Add required `kind`. --- js/examples/build_custom.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/examples/build_custom.ts b/js/examples/build_custom.ts index d4d97c1..baf12cb 100644 --- a/js/examples/build_custom.ts +++ b/js/examples/build_custom.ts @@ -12,6 +12,7 @@ const eszip = await build([ "content-type": "text/typescript", }, content: "export const a = 1;", + kind: "module", }; } @@ -21,6 +22,7 @@ const eszip = await build([ "content-type": "application/typescript", }, content: `import { a } from "https://example.com/dep1.ts";`, + kind: "module", }; });