A JSX-specific base compiler for Paperclip, version 18.3.8. Paperclip is a design-to-code tool that compiles HTML templates into various frameworks. This package provides the core JSX compilation logic, intended for use within the Paperclip ecosystem. It is likely used internally by other Paperclip compilers and may not be directly consumed. Release cadence is tied to the Paperclip monorepo. Key differentiator: focuses on JSX output, handling HTML-to-JSX transformations.
npm install paperclip-compiler-base-jsxNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows basic usage of compileJSX to transform HTML to JSX code.
Upgrade Node.js to 14+ or use paperclip-compiler-base-jsx@17.
Change import from default to named: import { compileJSX } from 'paperclip-compiler-base-jsx'.Replace 'pragma' with 'jsxPragma' in options object.
Ensure HTML is valid XML/XHTML before passing to compileJSX.
Run `npm install paperclip-compiler-base-jsx@18.3.8`.
Use import { compileJSX } from 'paperclip-compiler-base-jsx'.Ensure input HTML is valid and call compileJSX with correct options.
No dependency data recorded yet.