mirror of
https://github.com/denoland/deno.git
synced 2025-02-21 12:53:05 -05:00

This commit adds a warning when .jsx or .tsx is encountered during publishing. This is a stop-gap solution before we fix it proper.
5 lines
145 B
TypeScript
5 lines
145 B
TypeScript
import { renderToString } from "npm:preact-render-to-string";
|
|
|
|
export default function render() {
|
|
return renderToString(<div>foo.tsx</div>);
|
|
}
|