Re-exports§
pub use collect_exported_const_visitor::Const;
Modules§
Structs§
Enums§
Functions§
- collect_
exports - Collects static page export information for the next.js from given source’s AST. This is being used for some places like detecting page is a dynamic route or not, or building a PageStaticInfo object.
- collect_
rsc_ module_ info - Parse comments from the given source code and collect the RSC module info. This doesn’t use visitor, only read comments to parse necessary information.
- extract_
exported_ const_ values - Extracts the value of an exported const variable named
exportedName
(e.g. “export const config = { runtime: ‘edge’ }”) from swc’s AST. The value must be one of