Skip to content

Commit

Permalink
Reintroduce reading snippets and modules in cli-support (#4172)
Browse files Browse the repository at this point in the history
  • Loading branch information
daxpedda authored Oct 10, 2024
1 parent 76013f2 commit bdcbc58
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions crates/cli-support/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -616,6 +616,14 @@ impl Output {
self.generated.start.as_ref()
}

pub fn snippets(&self) -> &HashMap<String, Vec<String>> {
&self.generated.snippets
}

pub fn local_modules(&self) -> &HashMap<String, String> {
&self.generated.local_modules
}

pub fn npm_dependencies(&self) -> &HashMap<String, (PathBuf, String)> {
&self.generated.npm_dependencies
}
Expand Down

0 comments on commit bdcbc58

Please sign in to comment.