Note: this interface currently does not do actual async work, only provides a corresponding async interfaces to the @swc/core's interface.
@swc/core
{key} or {key = value}
{key}
{key = value}
.swcrc
import { DEBUG } from '@ember/env-flags';
import { FEATURE_A, FEATURE_B } from '@ember/features';
Configuration ported from babel-preset-env
export { foo } from 'mod'
export { foo as bar } from 'mod'
export * as foo from 'src';
Options for inline-global pass.
e.g. import foo from 'mod.js'
import foo from 'mod.js'
e.g. import * as foo from 'mod.js'.
import * as foo from 'mod.js'
These properties are mostly not implemented yet, but it exists to support passing terser config to swc minify without modification.
XML-based namespace syntax:
{key: value}
e.g. - import { foo } from 'mod.js'
import { foo } from 'mod.js'
Programmatic options.
Options for transform.
typeof operator
typeof
Identifier is a in { a, }
a
{ a, }
namespace A.B { } is a namespace named A with another TsNamespaceDecl as its body.
namespace A.B { }
A