import { transform } from "https://deno.land/x/aleph@1.0.0-beta.23/server/deps.ts";
Transforms the JSX/TS module into a JS module.
transform(
'/app.tsx',
`
import React from 'https://esm.sh/react';
export default function App() {
return <h1>Hello world!</h1>
}
`
)
Returns
Promise<TransformResult>