Import directly
Reference package bindings directly inside inline effect setup and cleanup callbacks.
OWN · BUNDLE · RELEASE
Inline effect setup and cleanup callbacks can reference browser-only package bindings directly. Kudzu keeps those imports out of build execution and bundles them only with the owning route effect.
EFFECT PACKAGE OWNERSHIP
Reference package bindings directly inside inline effect setup and cleanup callbacks.
Build scratch receives an inert callback while preserving effect ownership metadata.
Package imports flow through existing handler records and route effect bundling.
Setup and cleanup retain route, layout, conditional, and keyed effect ownership.
Routes without the effect ship neither package code nor effect JavaScript.
Render-time, helper-indirect, mixed, side-effect, and dynamic package imports remain diagnosed.
UPGRADE
npm install @kudzujs/core@^0.8.51