Skip to content

Commit

Permalink
include recommended assets for mathjax (#286)
Browse files Browse the repository at this point in the history
resolves #279

Now includes all mathjax-needed files in the dist.
This will also fix other features in the mathjax that optionally enabled (svg rendering).
  • Loading branch information
2bndy5 authored Sep 5, 2023
1 parent c61bad9 commit d58a79b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/build/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ const assets$ = concat(
})),

/* Copy mathjax dist */
...["tex-mml-chtml.js", "output/chtml/fonts/woff-v2/*.woff", "../LICENSE"]
...["tex-mml-chtml.js", "input/tex/extensions/*.js", "output/*.js", "output/**/*.js", "output/chtml/fonts/woff-v2/*.woff", "a11y/*.js", "sre/**/*.json", "../LICENSE"]
.map(pattern => copyAll(pattern, {
from: "node_modules/mathjax/es5",
to: `${base}/bundles/mathjax`
Expand Down

0 comments on commit d58a79b

Please sign in to comment.