Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.2.7/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