mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00

* Remove custom config and use tex-chtml-full for editor Mathjax * Add mathjax package in /ts * Share mathjax config between tex-svg and tex-chtml * Use "[+]" in Mathjax config again * Remove mention of MathJaxReady * Satisfy eslint
24 lines
423 B
Text
24 lines
423 B
Text
load("//ts:prettier.bzl", "prettier_test")
|
|
load("//ts:eslint.bzl", "eslint_test")
|
|
load("//ts:esbuild.bzl", "esbuild")
|
|
load("//ts:typescript.bzl", "typescript")
|
|
|
|
typescript(name = "mathjax_ts")
|
|
|
|
_esbuild_deps = [
|
|
":mathjax_ts",
|
|
]
|
|
|
|
esbuild(
|
|
name = "mathjax",
|
|
entry_point = "index.ts",
|
|
visibility = ["//visibility:public"],
|
|
deps = _esbuild_deps,
|
|
)
|
|
|
|
# Tests
|
|
################
|
|
|
|
prettier_test()
|
|
|
|
eslint_test()
|