mirror of
https://github.com/denoland/deno.git
synced 2025-02-22 13:13:32 -05:00

Follow up to https://github.com/denoland/deno/pull/22631 that asserts behavior when JSX and TSX files have and do not have pragmas with `jsx*` config.
5 lines
145 B
JavaScript
5 lines
145 B
JavaScript
import { renderToString } from "npm:preact-render-to-string";
|
|
|
|
export default function render() {
|
|
return renderToString(<div>foo.jsx</div>);
|
|
}
|