Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deco/deps.ts>TransformConfig

Git-based Visual CMS for Deno, </> htmx and Tailwind apps. Deploy on any Deno-compatible host.
Go to Latest
interface TransformConfig
import { type TransformConfig } from "https://deno.land/x/deco@1.75.1/deps.ts";

Options for transform.

Properties

optional
react: ReactConfig

Effective only if syntax supports ƒ.

optional
constModules: ConstModulesConfig
optional
optimizer: OptimizerConfig

Defaults to null, which skips optimizer pass.

optional
treatConstEnumAsEnum: boolean
optional
useDefineForClassFields: boolean