@litsx/babel-plugin-shared-hooks
v0.2.1
Published
Shared hook transform utilities used by the Litsx Babel plugin family
Maintainers
Readme
@litsx/babel-plugin-shared-hooks
Shared hook-transform utilities for the LitSX Babel plugin family.
Purpose
This package centralizes hook-transform logic used by the public Babel plugins that target:
- native LitSX hooks
- React compatibility hooks
- shared LitElement host analysis
What It Exports
This package includes internal helpers such as:
createUseStateTransformcreateUseRefTransformcreateRuntimeHooksTransformcreateEffectHooksTransform- host-resolution and runtime-import helpers used by transform packages
Intended Audience
This package is for:
- LitSX maintainers
- advanced plugin authors extending the same internal transform model
It is not the recommended first entrypoint for application Babel configs.
Use the Public Packages Instead
If you are configuring Babel for an app or integration, use the public transform packages rather than this internal utility package.
