You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 22, 2026. It is now read-only.
Create a compile script that uses esbuild to transform JSX code into calls to our custom createElement function. This script will be the entry point for compiling content authored with our DSL.
Tasks
Create compile function that accepts entry point and output options
Configure esbuild with appropriate JSX options (jsxFactory and jsxFragment)
Set up bundling options for esbuild
Create an esbuild plugin to inject the necessary imports from our JSX runtime
Handle source maps generation
Add error handling and reporting
Create utility functions for file path resolution
Add tests for compile script with various input files
Description
Create a compile script that uses esbuild to transform JSX code into calls to our custom
createElementfunction. This script will be the entry point for compiling content authored with our DSL.Tasks
jsxFactoryandjsxFragment)Technical Details
Acceptance Criteria:
createElementandFragment