[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:
OliverandCopilot authored and GitHub committed 2026-05-09 12:44:05 +10:00
1 parent 47f9dd9470
commit 583c7ad5f2
11 files changed
+275 -31

No files matched your search

+3
View File
@@ -29,3 +29,6 @@ dist-ssr
/playwright/.cache/
/.nyc_output/
/coverage/
# Report generation
stats.html