Crate next_core

Source

Re-exports§

pub use app_segment_config::parse_segment_config_from_loader_tree;
pub use app_segment_config::parse_segment_config_from_source;
pub use next_edge::context::get_edge_chunking_context;
pub use next_edge::context::get_edge_chunking_context_with_client_assets;
pub use next_edge::context::get_edge_compile_time_info;
pub use next_edge::context::get_edge_resolve_options_context;
pub use util::PathType;
pub use util::get_asset_path_from_pathname;
pub use util::pathname_for_path;

Modules§

app_segment_config
app_structure
hmr_entry
instrumentation
middleware
mode
next_app
next_client
next_client_reference
next_config
next_dynamic
next_edge
next_manifests
Type definitions for the Next.js manifest formats.
next_pages
next_server
next_server_component
next_server_utility
next_telemetry
pages_structure
tracing_presets
url_node
The following code is adapted from sorted-routes.ts using GPT-4 and human review.
util

Structs§

PageLoaderAsset

Functions§

all_assets_from_entries
Walks the asset graph from multiple assets and collect all referenced assets.
create_page_loader_entry_module
emit_all_assets
Emits all assets transitively reachable from the given chunks, that are inside the node root or the client root.
emit_assets
Emits all assets transitively reachable from the given chunks, that are inside the node root or the client root.
get_next_package
register