Skip to content

Commit

Permalink
Add Mathjax filegroup
Browse files Browse the repository at this point in the history
  • Loading branch information
hgiesel committed Nov 6, 2020
1 parent ba578ed commit 4794ab2
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
3 changes: 0 additions & 3 deletions ts/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
node_modules



16 changes: 16 additions & 0 deletions ts/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,19 @@ exports_files([
"rollup.config.js",
".eslintrc.js",
])

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',
],
),
)

0 comments on commit 4794ab2

Please sign in to comment.