Skip to main content

next_core/next_client_reference/
mod.rs

1use turbo_rcstr::{RcStr, rcstr};
2
3pub(crate) mod css_client_reference;
4pub(crate) mod ecmascript_client_reference;
5pub(crate) mod visit_client_reference;
6
7/// Merge tag of the isolated chunk groups for the client side of client references (CSS and
8/// ecmascript).
9pub const CLIENT_MERGE_TAG: RcStr = rcstr!("client");
10/// Merge tag of the isolated chunk groups for the SSR side of ecmascript client references.
11pub const SSR_MERGE_TAG: RcStr = rcstr!("ssr");
12
13pub use css_client_reference::{
14    css_client_reference_module::CssClientReferenceModule,
15    css_client_reference_transition::NextCssClientReferenceTransition,
16};
17pub use ecmascript_client_reference::{
18    ecmascript_client_reference_module::EcmascriptClientReferenceModule,
19    ecmascript_client_reference_transition::NextEcmascriptClientReferenceTransition,
20};
21pub use visit_client_reference::{
22    ClientReference, ClientReferenceGraphResult, ClientReferenceType, ServerEntries,
23    find_server_entries,
24};