diff --git a/api/index.html b/api/index.html
index 1e611b1..861c64a 100644
--- a/api/index.html
+++ b/api/index.html
@@ -1640,6 +1640,7 @@
EntryPoints: []string{"app.js"},
Bundle: true,
Outdir: "out",
+ Write: true,
})
if len(result.Errors) > 0 {
@@ -1670,7 +1671,8 @@
result := api.Build(api.BuildOptions{
EntryPoints: []string{"app.js"},
Bundle: true,
- Outdir: "out.js",
+ Outfile: "out.js",
+ Write: true,
})
if len(result.Errors) > 0 {