@@ -5,7 +5,6 @@ import type {
55 JscConfig ,
66 ModuleConfig ,
77 ParserConfig ,
8- TerserEcmaVersion ,
98 TransformConfig ,
109 TsParserConfig ,
1110} from '@swc/types' ;
@@ -73,62 +72,3 @@ export interface ReactServerComponentsOptions {
7372 */
7473 disableClientApiChecks ?: boolean ;
7574}
76-
77- export interface TerserCompressOptions {
78- arguments ?: boolean ;
79- arrows ?: boolean ;
80- booleans ?: boolean ;
81- booleans_as_integers ?: boolean ;
82- collapse_vars ?: boolean ;
83- comparisons ?: boolean ;
84- computed_props ?: boolean ;
85- conditionals ?: boolean ;
86- dead_code ?: boolean ;
87- defaults ?: boolean ;
88- directives ?: boolean ;
89- drop_console ?: boolean ;
90- drop_debugger ?: boolean ;
91- ecma ?: TerserEcmaVersion ;
92- evaluate ?: boolean ;
93- expression ?: boolean ;
94- global_defs ?: any ;
95- hoist_funs ?: boolean ;
96- hoist_props ?: boolean ;
97- hoist_vars ?: boolean ;
98- ie8 ?: boolean ;
99- if_return ?: boolean ;
100- inline ?: 0 | 1 | 2 | 3 ;
101- join_vars ?: boolean ;
102- keep_classnames ?: boolean ;
103- keep_fargs ?: boolean ;
104- keep_fnames ?: boolean ;
105- keep_infinity ?: boolean ;
106- loops ?: boolean ;
107- negate_iife ?: boolean ;
108- passes ?: number ;
109- properties ?: boolean ;
110- pure_getters ?: any ;
111- pure_funcs ?: string [ ] ;
112- reduce_funcs ?: boolean ;
113- reduce_vars ?: boolean ;
114- sequences ?: any ;
115- side_effects ?: boolean ;
116- switches ?: boolean ;
117- top_retain ?: any ;
118- toplevel ?: any ;
119- typeofs ?: boolean ;
120- unsafe ?: boolean ;
121- unsafe_passes ?: boolean ;
122- unsafe_arrows ?: boolean ;
123- unsafe_comps ?: boolean ;
124- unsafe_function ?: boolean ;
125- unsafe_math ?: boolean ;
126- unsafe_symbols ?: boolean ;
127- unsafe_methods ?: boolean ;
128- unsafe_proto ?: boolean ;
129- unsafe_regexp ?: boolean ;
130- unsafe_undefined ?: boolean ;
131- unused ?: boolean ;
132- const_to_let ?: boolean ;
133- module ?: boolean ;
134- }
0 commit comments