github.com/goplusjs/gopherjs@v1.2.6-0.20211206034512-f187917453b8/compiler/prelude/uglifyjs_options.json (about)

     1  {
     2  	"compress": {
     3  		"arrows": true,
     4  		"booleans": true,
     5  		"collapse_vars": true,
     6  		"comparisons": true,
     7  		"computed_props": true,
     8  		"conditionals": true,
     9  		"dead_code": true,
    10  		"drop_console": false,
    11  		"drop_debugger": true,
    12  		"ecma": 5,
    13  		"evaluate": true,
    14  		"expression": false,
    15  		"global_defs": {},
    16  		"hoist_funs": false,
    17  		"hoist_props": true,
    18  		"hoist_vars": false,
    19  		"ie8": false,
    20  		"if_return": true,
    21  		"inline": true,
    22  		"join_vars": true,
    23  		"keep_classnames": false,
    24  		"keep_fargs": true,
    25  		"keep_fnames": false,
    26  		"keep_infinity": false,
    27  		"loops": true,
    28  		"negate_iife": true,
    29  		"passes": 1,
    30  		"properties": true,
    31  		"pure_funcs": null,
    32  		"pure_getters": "strict",
    33  		"reduce_funcs": true,
    34  		"reduce_vars": true,
    35  		"sequences": true,
    36  		"side_effects": true,
    37  		"switches": true,
    38  		"top_retain": null,
    39  		"toplevel": false,
    40  		"typeofs": true,
    41  		"unsafe": false,
    42  		"unsafe_Function": false,
    43  		"unsafe_arrows": false,
    44  		"unsafe_comps": false,
    45  		"unsafe_math": false,
    46  		"unsafe_methods": false,
    47  		"unsafe_proto": false,
    48  		"unsafe_regexp": false,
    49  		"unsafe_undefined": false,
    50  		"unused": true,
    51  		"warnings": false
    52  	},
    53  	"mangle": {
    54  		"eval": false,
    55  		"ie8": false,
    56  		"keep_classnames": false,
    57  		"keep_fnames": false,
    58  		"properties": false,
    59  		"reserved": [],
    60  		"safari10": false,
    61  		"toplevel": false
    62  	},
    63  	"output": {
    64  		"ascii_only": false,
    65  		"beautify": false,
    66  		"bracketize": false,
    67  		"comments": "/@license|@preserve|^!/",
    68  		"ecma": 5,
    69  		"ie8": false,
    70  		"indent_level": 4,
    71  		"indent_start": 0,
    72  		"inline_script": true,
    73  		"keep_quoted_props": false,
    74  		"max_line_len": false,
    75  		"preamble": null,
    76  		"preserve_line": false,
    77  		"quote_keys": false,
    78  		"quote_style": 0,
    79  		"safari10": false,
    80  		"semicolons": true,
    81  		"shebang": true,
    82  		"source_map": null,
    83  		"webkit": false,
    84  		"width": 80,
    85  		"wrap_iife": false
    86  	},
    87  	"parse": {
    88  		"bare_returns": false,
    89  		"ecma": 8,
    90  		"expression": false,
    91  		"filename": null,
    92  		"html5_comments": true,
    93  		"shebang": true,
    94  		"strict": false,
    95  		"toplevel": null
    96  	},
    97  	"wrap": false
    98  }