js: Use unminified KaTeX (and minifiy it with everything else).

Since our Webpack config passes pre-minified JS files to
script-loader, they can’t be used as modules.  Use the normal
unminified version, letting Webpack minify it and give us source maps.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2020-08-03 15:03:55 -07:00
committed by Tim Abbott
parent c523657d48
commit f63d132276
4 changed files with 4 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
import katex from "katex/dist/katex.min.js";
import katex from "katex";
import _ from "lodash";
// Parsing routine that can be dropped in to message parsing