diff --git a/_docs/gen.go b/_docs/gen.go index b86d1cfc6..11bb2da6c 100644 --- a/_docs/gen.go +++ b/_docs/gen.go @@ -294,7 +294,7 @@ func outputExampleContent(e *example) error { out := filepath.Join(dir, e.Name+".js") path := "github.com/hajimehoshi/ebiten/examples/" + e.Name - if err := execute("gopherjs", "build", "-m", "-o", out, path); err != nil { + if err := execute("gopherjs", "build", "-tags", "example", "-m", "-o", out, path); err != nil { return err }