mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-18 15:23:11 +00:00
chore: Update katex import path
This commit is contained in:
parent
9096a14801
commit
275e029fc9
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ export async function renderMath() {
|
|||
if (!els.length) return;
|
||||
|
||||
const [{default: katex}] = await Promise.all([
|
||||
import(/* webpackChunkName: "katex" */'katex'),
|
||||
import(/* webpackChunkName: "katex" */'katex/dist/katex.js'),
|
||||
import(/* webpackChunkName: "katex" */'katex/dist/katex.css'),
|
||||
]);
|
||||
|
||||
|
|
Loading…
Reference in a new issue