Include KaTeX CSS as a dependency

This changes the KaTeX CSS inclusion to function just like the other bits of the
CSS that we import from dependencies.
This commit is contained in:
J. Ryan Stinnett 2020-11-27 12:18:24 +00:00
parent 301ea6a5f3
commit d8e0ea5791
4 changed files with 48 additions and 8 deletions

View file

@ -41,9 +41,6 @@ module.exports = (env, argv) => {
"jitsi": "./src/vector/jitsi/index.ts",
"usercontent": "./node_modules/matrix-react-sdk/src/usercontent/index.js",
// CSS for LaTeX maths outout
"katex": "./node_modules/matrix-react-sdk/node_modules/katex/dist/katex.min.css",
// CSS themes
"theme-legacy": "./node_modules/matrix-react-sdk/res/themes/legacy-light/css/legacy-light.scss",
"theme-legacy-dark": "./node_modules/matrix-react-sdk/res/themes/legacy-dark/css/legacy-dark.scss",