Bundle a small selection of packages in the hydration library for code components

Created on 24 February 2025, about 1 month ago

Overview

There is a small selection of packages that is helpful and widely used, which we can bundle in our hydration library ( Hydration library for code components Active ) for code components to use.

Proposed resolution

We can do this with import maps, thanks to 📌 Make JS files generated from code components import Preact modules with the correct paths Active . Include the following packages:

  1. clsx
  2. class-variance-authority
  3. tailwind-merge
  4. Somehow make this utility function named cn() available: https://github.com/balintbrews/drupal-xb-js-components-storybook-starter.... Ideally something like import { cn } from '@/lib/utils'; should work.
Feature request
Status

Active

Version

0.0

Component

Page builder

Created by

🇳🇱Netherlands balintbrews Amsterdam, NL

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024