| load("//infra-sk:index.bzl", "sk_demo_page_server", "sk_element", "sk_page") |
| |
| sk_demo_page_server( |
| name = "demo_page_server", |
| sk_page = ":pathkit-fiddle-sk-demo", |
| ) |
| |
| sk_element( |
| name = "pathkit-fiddle-sk", |
| sk_element_deps = [ |
| "//infra-sk/modules/theme-chooser-sk", |
| "//jsfiddle/modules/wasm-fiddle-sk", |
| "//infra-sk/modules/app-sk", |
| "//elements-sk/modules/error-toast-sk", |
| ], |
| ts_deps = [ |
| "//elements-sk/modules:define_ts_lib", |
| "//:node_modules/lit", |
| ], |
| ts_srcs = [ |
| "index.ts", |
| "pathkit-fiddle-sk.ts", |
| ], |
| visibility = ["//visibility:public"], |
| ) |
| |
| sk_page( |
| name = "pathkit-fiddle-sk-demo", |
| html_file = "pathkit-fiddle-sk-demo.html", |
| sk_element_deps = [ |
| "//jsfiddle/modules/wasm-fiddle-sk", |
| ":pathkit-fiddle-sk", |
| ], |
| ts_deps = ["//infra-sk/modules:dom_ts_lib"], |
| ts_entry_point = "pathkit-fiddle-sk-demo.ts", |
| ) |