mirror of
https://github.com/ankitects/anki.git
synced 2026-07-28 09:08:46 -04:00
## 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).
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