Adds a "Transpile JSX" attribute to the Playground block that enables block-building examples using JSX syntax. This enables reusing existing JSX code examples in interactive tutorials on building WordPress blocks.
On the technical end, this PR uses esbuild-wasm to run the transpilation in the browser.
Adds a "Transpile JSX" attribute to the Playground block that enables block-building examples using JSX syntax. This enables reusing existing JSX code examples in interactive tutorials on building WordPress blocks.
On the technical end, this PR uses
esbuild-wasm
to run the transpilation in the browser.Testing instructions