Module util

Source

Structs§

NextSourceConfig
NextSourceConfigParsingIssue
An issue that occurred while parsing the page config.
OptionEnvMap
As opposed to [EnvMap], this map allows for None values, which means that the variables should be replace with undefined.

Enums§

MiddlewareMatcherKind
NextRuntime
PathType

Functions§

defines
file_content_rope
foreign_code_context_condition
get_asset_path_from_pathname
get_asset_prefix_from_pathname
get_transpiled_packages
internal_assets_conditions
Determines if the module is an internal asset (i.e overlay, fallback) coming from the embedded FS, don’t apply user defined transforms.
load_next_js_template
Loads a next.js template, replaces replacements and injections and makes sure there are none left over.
load_next_js_templateon
parse_config_from_source
pathname_for_path
Converts a filename within the server root into a next pathname.
virtual_next_js_template_path