@@ -107,6 +107,8 @@ pub struct Config {
107107 react : Option < ReactConfig > ,
108108 optimization : Option < OptimizationConfig > ,
109109 stats : Option < bool > ,
110+ #[ bincode( with = "turbo_bincode::serde_self_describing" ) ]
111+ swc_plugins : Option < Vec < ( RcStr , serde_json:: Value ) > > ,
110112 #[ cfg( any( feature = "process_pool" , feature = "worker_pool" ) ) ]
111113 plugin_runtime_strategy : Option < PluginRuntimeStrategy > ,
112114 persistent_caching : Option < bool > ,
@@ -694,8 +696,6 @@ impl TryFrom<RegexComponents> for EsRegex {
694696#[ derive( Clone , Debug , Default , Deserialize , OperationValue ) ]
695697#[ serde( rename_all = "camelCase" ) ]
696698pub struct ExperimentalConfig {
697- #[ bincode( with = "turbo_bincode::serde_self_describing" ) ]
698- swc_plugins : Option < Vec < ( RcStr , serde_json:: Value ) > > ,
699699 react_compiler : Option < ReactCompilerOptionsOrBoolean > ,
700700}
701701
@@ -1286,8 +1286,8 @@ impl Config {
12861286 }
12871287
12881288 #[ turbo_tasks:: function]
1289- pub fn experimental_swc_plugins ( & self ) -> Vc < SwcPlugins > {
1290- Vc :: cell ( self . experimental . swc_plugins . clone ( ) . unwrap_or_default ( ) )
1289+ pub fn swc_plugins ( & self ) -> Vc < SwcPlugins > {
1290+ Vc :: cell ( self . swc_plugins . clone ( ) . unwrap_or_default ( ) )
12911291 }
12921292
12931293 #[ turbo_tasks:: function]
0 commit comments