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

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

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

Properties

syntax: "ecmascript"
optional
jsx: boolean

Defaults to false.

optional
deprecated
numericSeparator: boolean
optional
deprecated
classPrivateProperty: boolean
optional
deprecated
privateMethod: boolean
optional
deprecated
classProperty: boolean
optional
functionBind: boolean

Defaults to false

optional
decorators: boolean

Defaults to false

optional
decoratorsBeforeExport: boolean

Defaults to false

optional
exportDefaultFrom: boolean

Defaults to false

optional
deprecated
exportNamespaceFrom: boolean
optional
deprecated
dynamicImport: boolean
optional
deprecated
nullishCoalescing: boolean
optional
deprecated
optionalChaining: boolean
optional
deprecated
importMeta: boolean
optional
deprecated
topLevelAwait: boolean
optional
importAssertions: boolean

Defaults to false