Skip to content

Commit ee03a28

Browse files
committed
Update the vite manifest definition
1 parent c79c232 commit ee03a28

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

crates/spa/src/vite.rs

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,13 @@ use thiserror::Error;
1212
#[derive(serde::Deserialize, Debug, Clone)]
1313
#[serde(rename_all = "camelCase", deny_unknown_fields)]
1414
pub struct ManifestEntry {
15-
#[allow(dead_code)]
15+
#[expect(dead_code)]
1616
name: Option<String>,
1717

18-
#[allow(dead_code)]
18+
#[expect(dead_code)]
19+
names: Option<Vec<String>>,
20+
21+
#[expect(dead_code)]
1922
src: Option<Utf8PathBuf>,
2023

2124
file: Utf8PathBuf,
@@ -24,15 +27,15 @@ pub struct ManifestEntry {
2427

2528
assets: Option<Vec<Utf8PathBuf>>,
2629

27-
#[allow(dead_code)]
30+
#[expect(dead_code)]
2831
is_entry: Option<bool>,
2932

30-
#[allow(dead_code)]
33+
#[expect(dead_code)]
3134
is_dynamic_entry: Option<bool>,
3235

3336
imports: Option<Vec<Utf8PathBuf>>,
3437

35-
#[allow(dead_code)]
38+
#[expect(dead_code)]
3639
dynamic_imports: Option<Vec<Utf8PathBuf>>,
3740

3841
integrity: Option<String>,

0 commit comments

Comments
 (0)