Skip to main content
Module

x/aleph/compiler/mod.ts>transform

The Full-stack Framework in Deno.
Very Popular
Go to Latest
function transform
import { transform } from "https://deno.land/x/aleph@v0.3.0-beta.8/compiler/mod.ts";

transform module by swc.

transform(
  '/app.tsx',
  `
    export default App() {
      return <h1>Hello World</h1>
    }
  `
)

Parameters

specifier: string
code: string
optional
options: TransformOptions = [UNSUPPORTED]