From c4b7d830ac535abecfcb4544a085aaea55c2724a Mon Sep 17 00:00:00 2001 From: Mark Dumay <61946753+markdumay@users.noreply.github.com> Date: Sat, 18 Jul 2026 20:02:18 +0200 Subject: [PATCH] feat: declare bootstrap script global for Hinode's module-externals reader Hinode's scripts pipeline now reads each module's own modules..globals instead of hardcoding them. Declare window.bootstrap here (mirrors how mod-mermaid declares its own [modules.mermaid] block) so bootstrap owns its own declaration. --- config/_default/params.toml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 config/_default/params.toml diff --git a/config/_default/params.toml b/config/_default/params.toml new file mode 100644 index 0000000..decd270 --- /dev/null +++ b/config/_default/params.toml @@ -0,0 +1,8 @@ +# default configuration for bootstrap + +[modules] + [modules.bootstrap] + # bootstrap's UMD build does not self-register window.bootstrap when bundled + # by esbuild; expose it explicitly so Hinode's scripts pipeline registers it. + [modules.bootstrap.globals] + "js/modules/bootstrap/bootstrap.bundle.js" = "bootstrap"