15 lines
782 B
JavaScript
15 lines
782 B
JavaScript
// Bundled global selection-dialog libraries.
|
|
//
|
|
// These three were previously three separate raw entries in app_include_js,
|
|
// each adding a line to the desk `Link: rel=preload` header (the edge proxy has
|
|
// a ~4 KB header buffer; overflowing it returns 502). Combining them into one
|
|
// hashed bundle keeps a single preload entry AND gives automatic cache-busting
|
|
// on every `bench build` (no more stale-JS / hard-refresh dance).
|
|
//
|
|
// They communicate via window.* globals (window.AccountSelectionDialog etc.) and
|
|
// selection_dialog.js overrides LinkSelector, calling the other two lazily at
|
|
// click time — so import the two providers first, the override last.
|
|
import "./account_selection_dialog.js";
|
|
import "./document_selection_dialog.js";
|
|
import "./selection_dialog.js";
|