Files
anki/ts
Brayan Oliveira 00dcfc3e8b feat: lazy-load MathJax on Reviewer (#5171)
## Linked issue (required)

* Closes #5172

## Summary / motivation (required)

Loading MathJax makes the reviewer initialization slower, which is
relevant for people who don't use MathJax and slower devices (such as
phones)

## Steps to reproduce (required, use N/A if not applicable)

N/A

## How to test (required)

1. Opened a deck with a card with no MathJax
2. In developer tools' console,, check whether `MathJax` is not defined
3. Answer some cards until a card with MathJax appears -> Check if it is
correctly loaded

### Checklist (minimum)

- [X] I ran `./ninja check` or an equivalent relevant check locally.
- [ ] I added or updated tests when the change is non-trivial or
behavior changed.

### Details

<!-- Commands, manual steps, edge cases, and what you observed -->

## Before / after behavior (optional)

<!-- For bugfixes: behavior before vs after. For other types: N/A or a
short note. -->

## Risk / compatibility / migration (optional)

<!-- Breaking changes, rollout notes, or N/A for small / low-risk PRs
-->

## UI evidence (required for visual changes; otherwise N/A)

N/A

## Scope

- [X] This PR is focused on one change (no unrelated edits).
2026-07-24 15:23:45 +08:00
..
2024-03-31 09:16:31 +01:00
2021-04-22 19:19:39 +02:00
2022-12-04 11:37:16 +10:00
2022-11-27 15:24:20 +10:00
2024-03-31 09:16:31 +01:00

Anki's TypeScript and Sass dependencies. Some TS/JS code is also stored separately in ../qt/aqt/data/web/.

To update all dependencies:

./update.sh

To add a new dev dependency, use something like:

./add.sh -D @rollup/plugin-alias