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

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

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

Properties

optional
loose: boolean
optional
parser: ParserConfig

Defaults to EsParserConfig

optional
transform: TransformConfig
optional
externalHelpers: boolean

Use @swc/helpers instead of inline helpers.

optional
target: JscTarget

Defaults to es3 (which enabled all pass).

optional
keepClassNames: boolean

Keep class names.

optional
experimental: { optimizeHygiene?: boolean; keepImportAssertions?: boolean; cacheRoot?: string; plugins?: Array<[string, Record<string, any>]>; }
optional
baseUrl: string
optional
paths: { [from: string]: string[]; }
optional
minify: JsMinifyOptions
optional
preserveAllComments: boolean