mirror of
https://github.com/denoland/deno.git
synced 2024-12-20 06:15:44 -05:00
211b3ff244
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
JavaScript
5 lines
145 B
JavaScript
import { renderToString } from "npm:preact-render-to-string";
|
|
|
|
export default function render() {
|
|
return renderToString(<div>foo.tsx</div>);
|
|
}
|