mirror of
https://github.com/go-gitea/gitea
synced 2024-12-22 16:44:26 +00:00
bed563e574
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" /> |
||
---|---|---|
.. | ||
components | ||
features | ||
markup | ||
modules | ||
render | ||
standalone | ||
utils | ||
vendor | ||
webcomponents | ||
bootstrap.test.ts | ||
bootstrap.ts | ||
globals.d.ts | ||
globals.ts | ||
htmx.ts | ||
index.ts | ||
svg.test.ts | ||
svg.ts | ||
types.ts | ||
utils.test.ts | ||
utils.ts | ||
vitest.setup.ts |