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

x/mesozoic/lib/swc.ts>Types.TransformConfig

A generic build system for Deno web apps
Go to Latest
interface Types.TransformConfig
import { type Types } from "https://deno.land/x/mesozoic@v1.2.6/lib/swc.ts";
const { TransformConfig } = Types;

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