File tree 3 files changed +3
-3
lines changed
binding_minifier_wasm/src
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -905,7 +905,7 @@ export interface GlobalPassOption {
905
905
*
906
906
* Defaults to `["NODE_ENV", "SWC_ENV"]`
907
907
*/
908
- envs?: string[];
908
+ envs?: string[] | Record<string, string> ;
909
909
}
910
910
911
911
export type ModuleConfig = Es6Config | CommonJsConfig | UmdConfig | AmdConfig | NodeNextConfig | SystemjsConfig;
Original file line number Diff line number Diff line change @@ -905,7 +905,7 @@ export interface GlobalPassOption {
905
905
*
906
906
* Defaults to `["NODE_ENV", "SWC_ENV"]`
907
907
*/
908
- envs?: string[];
908
+ envs?: string[] | Record<string, string> ;
909
909
}
910
910
911
911
export type ModuleConfig = Es6Config | CommonJsConfig | UmdConfig | AmdConfig | NodeNextConfig | SystemjsConfig;
Original file line number Diff line number Diff line change @@ -872,7 +872,7 @@ export interface GlobalPassOption {
872
872
*
873
873
* Defaults to `["NODE_ENV", "SWC_ENV"]`
874
874
*/
875
- envs ?: string [ ] ;
875
+ envs ?: string [ ] | Record < string , string > ;
876
876
877
877
/**
878
878
* Replaces typeof calls for passed variables with corresponding value
You can’t perform that action at this time.
0 commit comments