view markdown_converter/wasm/BUILD @ 159:05cf9467a1c3

[Postdog] Updated to use text area that can handle like html text area.
author June Park <parkjune1995@gmail.com>
date Wed, 14 Jan 2026 08:56:33 -0800
parents cd35e600ae34
children f3084bca7317
line wrap: on
line source

load("//gui_ze:gui_ze.bzl", "wasm_binary")

wasm_binary(
  name = "markdown_to_html_wasm",
  src = "markdown_to_html_wasm.c",
  exports = [
    "malloc",
    "free",
    "heap_reset",
    "markdown_to_html",
    "markdown_strlen",
  ],
  visibility = ["//visibility:public"],
)

# JS to link wasm with 
filegroup(
  name = "markdown_to_html_wasm_js",
  srcs = glob([
      "**/*.js",
  ], allow_empty=True),
  visibility = ["//visibility:public"],
)