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

x/bundler/deps.ts>terser.FormatOptions

A Bundler with the web in mind.
Go to Latest
interface terser.FormatOptions
import { type terser } from "https://deno.land/x/bundler@0.6.5/deps.ts";
const { FormatOptions } = terser;

Properties

optional
ascii_only: boolean
optional
deprecated
beautify: boolean
optional
braces: boolean
optional
comments:
| boolean
| "all"
| "some"
| RegExp
| ((node: any, comment: { value: string; type:
| "comment1"
| "comment2"
| "comment3"
| "comment4"
; pos: number; line: number; col: number; }
) => boolean)
optional
ecma: ECMA
optional
ie8: boolean
optional
indent_level: number
optional
indent_start: number
optional
inline_script: boolean
optional
keep_quoted_props: boolean
optional
max_line_len: number | false
optional
preamble: string
optional
preserve_annotations: boolean
optional
quote_keys: boolean
optional
quote_style: OutputQuoteStyle
optional
safari10: boolean
optional
semicolons: boolean
optional
shebang: boolean
optional
shorthand: boolean
optional
source_map: SourceMapOptions
optional
webkit: boolean
optional
width: number
optional
wrap_iife: boolean
optional
wrap_func_args: boolean