gitea/web_src
silverwind bed563e574
Improve JSX/TSX support in code editor (#32833)
Two tweaks to Monaco to improve JSX/TSX support.

1. Certain language features like JSX/TSX only work when passing `uri`
(containing the filename), do this.
2. Set the `jsx` compiler option to avoid error annotations

Before:
<img width="441" alt="Screenshot 2024-12-13 at 15 11 33"
src="https://github.com/user-attachments/assets/dac245a7-e80f-4249-8e09-13124b03d12a"
/>

After:
<img width="441" alt="Screenshot 2024-12-13 at 15 10 46"
src="https://github.com/user-attachments/assets/726ad712-d116-438d-88da-bc40534b6860"
/>
2024-12-14 03:10:20 +00:00
..
css Fix various UI bugs (#32821) 2024-12-13 01:45:32 -05:00
fomantic Regenerate fomantic package-lock.json (#32650) 2024-11-27 04:04:12 +00:00
js Improve JSX/TSX support in code editor (#32833) 2024-12-14 03:10:20 +00:00
svg Add Arch package registry (#32692) 2024-12-04 23:09:07 +00:00