twiggle-plugin-core
v1.6.9
Published
Core logic for Twiggle build tool plugins
Readme
twiggle-plugin-core
Core transformation logic for Twiggle plugins.
This package provides the fundamental Babel plugin that performs the reactive JSX transformations for Twiggle. It is a dependency for various bundler and transpiler plugins (e.g., babel-plugin-twiggle, vite-plugin-twiggle).
Installation
npm install twiggle-plugin-core
# or
yarn add twiggle-plugin-coreUsage
This package is primarily intended for internal use by other Twiggle plugins and is not typically consumed directly by end-user applications.
For developers building Twiggle plugins, you can import and use the core Babel plugin:
import twigglePlugin from 'twiggle-plugin-core'
// Use `twigglePlugin` in your Babel configuration or custom transformation logic.