mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-12 14:14:48 +00:00
landing-page starter, which uses preact blocks, was only working only in monorepo due to Preact installed in root package.json but not starter package.json. - Switch js.Build to classic JSX with global factory in `modules/blox-tailwind/layouts/_partials/libraries.html` (JSX=transform, JSXFactory=preact.h, JSXFragment=preact.Fragment) - Update `modules/blox-tailwind/blox/hero/client.jsx` to call `preact.render` and remove `preact` import - Remove `preact` import from `modules/blox-tailwind/blox/shared/js/components/Icon.jsx` (classic JSX uses global `preact.h`) - Keep vendored `assets/dist/lib/preact/preact.min.js` and load it only when `needs_preact` is set - Fixes CI error “Could not resolve preact/jsx-runtime” without requiring `preact` in each starter