Skip to content

Commit 3ae8fb2

Browse files
committed
IndexMap in manifest
1 parent baa4f78 commit 3ae8fb2

File tree

1 file changed

+6
-6
lines changed
  • crates/next-core/src/next_manifests

1 file changed

+6
-6
lines changed

crates/next-core/src/next_manifests/mod.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -346,22 +346,22 @@ pub struct ClientReferenceManifest {
346346
pub client_modules: ManifestNode,
347347
/// Mapping of client module ID to corresponding SSR module ID and required
348348
/// SSR chunks.
349-
pub ssr_module_mapping: HashMap<ModuleId, ManifestNode>,
349+
pub ssr_module_mapping: FxIndexMap<ModuleId, ManifestNode>,
350350
/// Same as `ssr_module_mapping`, but for Edge SSR.
351351
#[serde(rename = "edgeSSRModuleMapping")]
352-
pub edge_ssr_module_mapping: HashMap<ModuleId, ManifestNode>,
352+
pub edge_ssr_module_mapping: FxIndexMap<ModuleId, ManifestNode>,
353353
/// Mapping of client module ID to corresponding RSC module ID and required
354354
/// RSC chunks.
355-
pub rsc_module_mapping: HashMap<ModuleId, ManifestNode>,
355+
pub rsc_module_mapping: FxIndexMap<ModuleId, ManifestNode>,
356356
/// Same as `rsc_module_mapping`, but for Edge RSC.
357357
#[serde(rename = "edgeRscModuleMapping")]
358-
pub edge_rsc_module_mapping: HashMap<ModuleId, ManifestNode>,
358+
pub edge_rsc_module_mapping: FxIndexMap<ModuleId, ManifestNode>,
359359
/// Mapping of server component path to required CSS client chunks.
360360
#[serde(rename = "entryCSSFiles")]
361-
pub entry_css_files: HashMap<RcStr, FxIndexSet<CssResource>>,
361+
pub entry_css_files: FxIndexMap<RcStr, FxIndexSet<CssResource>>,
362362
/// Mapping of server component path to required JS client chunks.
363363
#[serde(rename = "entryJSFiles")]
364-
pub entry_js_files: HashMap<RcStr, FxIndexSet<RcStr>>,
364+
pub entry_js_files: FxIndexMap<RcStr, FxIndexSet<RcStr>>,
365365
}
366366

367367
#[derive(Serialize, Debug, Clone, Eq, Hash, PartialEq)]

0 commit comments

Comments
 (0)