Add Mathjax filegroup

This commit is contained in:
Henrik Giesel 2020-11-06 18:51:41 +01:00
parent 6104ea26fb
commit afc7bdf642
2 changed files with 16 additions and 3 deletions

3
ts/.gitignore vendored
View file

@ -1,4 +1 @@
node_modules node_modules

View file

@ -13,3 +13,19 @@ exports_files([
".eslintrc.js", ".eslintrc.js",
"licenses.json", "licenses.json",
]) ])
filegroup(
name = "mathjax",
srcs = glob(
include = glob([
'node_modules/mathjax/es5/tex-chtml.js',
'node_modules/mathjax/es5/input/tex/extensions/**/*',
'node_modules/mathjax/es5/output/chtml/fonts/woff-v2/**/*',
'node_modules/mathjax/es5/a11y/**/*',
'node_modules/mathjax/es5/sre/**/*',
]),
exclude = [
'node_modules/mathjax/es5/sre/mathmaps/mathmaps_ie.js',
],
),
)