bslibreact_dep
bslibreact_dep()The bslibreact JS (and CSS, if built) bundle as an HTMLDependency.
The bundle sets window.bslibreact. Attach it only for a client with no build step that reads the kit from that global; a client built with Vite bundles the kit itself.
The stylesheet is attached only when www/bslibreact.css actually exists – the bundle may ship JS only – so this never points a <link> at a file that isn’t there. Likewise the JS file itself may be absent before the first make update-dist; :func:_bundle_version handles that (falls back to the bare release string) instead of erroring, since importing bslibreact must work before the bundle has ever been built.