Skip to content

Commit

Permalink
use deprecate
Browse files Browse the repository at this point in the history
  • Loading branch information
sokra committed May 23, 2023
1 parent 770ae19 commit 792e728
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next-swc/crates/next-core/src/next_config.rs
Expand Up @@ -355,7 +355,7 @@ pub enum RemotePatternProtocal {
#[derive(Clone, Debug, Default, PartialEq, Serialize, Deserialize, TraceRawVcs)]
#[serde(rename_all = "camelCase")]
pub struct ExperimentalTurboConfig {
/// This option has been replace by `rules`.
#[deprecated(note = "This option has been replace by `rules`.")]
pub loaders: Option<JsonValue>,
pub rules: Option<IndexMap<String, RuleConfigItem>>,
pub resolve_alias: Option<IndexMap<String, JsonValue>>,
Expand Down

0 comments on commit 792e728

Please sign in to comment.