Skip to content

Commit

Permalink
[DOP-4691]: unused component filtering affecting guides (#1235)
Browse files Browse the repository at this point in the history
  • Loading branch information
branberry authored Sep 18, 2024
1 parent aff7715 commit e61200b
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions component-factory-transformer/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,13 @@ pub fn process_transform(program: Program, metadata: TransformPluginProgramMetad
includes: includes_set.clone(),
component_names: HashSet::from_iter(
// Default values that we want to keep.
vec!["LAZY_COMPONENTS".to_string(), "Admonition".to_string()]
.iter()
.cloned(),
vec![
"LAZY_COMPONENTS".to_string(),
"Admonition".to_string(),
"Card".to_string(),
]
.iter()
.cloned(),
),
};

Expand Down

0 comments on commit e61200b

Please sign in to comment.