[UI] Optimize bundle (#11896)

* lazy load global window modules

- Required for plugins
- Can be separated from the "main.tsx" code

Co-authored-by: Copilot <copilot@github.com>

* Defer modal loading

Co-authored-by: Copilot <copilot@github.com>

* Rollup visualiser tool

* Remove debug msg

* Rearrange to reduce deltas

* Refactor CodeEditor and PdfPreview

* Split NotesPanel

Co-authored-by: Copilot <copilot@github.com>

---------

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
Oliver
2026-05-09 12:44:05 +10:00
committed by GitHub
co-authored by Copilot
parent 47f9dd9470
commit 583c7ad5f2
11 changed files with 275 additions and 31 deletions
+3
View File
@@ -29,3 +29,6 @@ dist-ssr
/playwright/.cache/
/.nyc_output/
/coverage/
# Report generation
stats.html