Skip to content

Commit

Permalink
doc(swc_core): Resolve build issue with --all-features flag (#8848)
Browse files Browse the repository at this point in the history
**Related issue:**

- Closes #8829
  • Loading branch information
magic-akari authored Apr 12, 2024
1 parent cfe7029 commit c0d901e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion crates/swc_common/src/plugin/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,8 @@ pub mod serialized;
pub const PLUGIN_TRANSFORM_AST_SCHEMA_VERSION: u32 = 1;

// Reserved for the testing purpose.
#[cfg(feature = "plugin_transform_schema_vtest")]
#[cfg(all(
feature = "plugin_transform_schema_vtest",
not(feature = "plugin_transform_schema_v1")
))]
pub const PLUGIN_TRANSFORM_AST_SCHEMA_VERSION: u32 = u32::MAX - 1;

0 comments on commit c0d901e

Please sign in to comment.