Skip to content

Commit

Permalink
Add Card as a default component to not filter
Browse files Browse the repository at this point in the history
  • Loading branch information
branberry committed Sep 12, 2024
1 parent b6b72aa commit 86c920d
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 86c920d

Please sign in to comment.