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

x/drollup/plugins/terser/types.ts>FormatOptions

Next-generation ES module bundler ported for Deno
Latest
interface FormatOptions
import { type FormatOptions } from "https://deno.land/x/drollup@2.58.0+0.20.0/plugins/terser/types.ts";

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