Skip to content

Commit 9f815b2

Browse files
committed
fix: make packages optional in pnpm-workspace.yaml
1 parent 348e914 commit 9f815b2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • crates/vite_workspace/src

crates/vite_workspace/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ struct PnpmWorkspace {
2525
/// The packages to include in the workspace.
2626
///
2727
/// <https://pnpm.io/pnpm-workspace_yaml>
28+
#[serde(default)]
2829
packages: Vec<Str>,
2930
}
3031

0 commit comments

Comments
 (0)