turborepo
1edebbbb - split graph_node_to_referenced_nodes into cacheable and non-cacheable parts (#7509)

Commit
1 year ago
split graph_node_to_referenced_nodes into cacheable and non-cacheable parts (#7509) ### Description `graph_node_to_referenced_nodes` no longer depends on `available_chunk_items` (which change for every dynamic import/page) Instead `graph_node_to_referenced_nodes_with_available_chunk_items` is used when there are `available_chunk_items`. This calls the cached `graph_node_to_referenced_nodes` and modifies the response to respect `available_chunk_items` This allows to partially cache graph walk for chunking in case of async imports. ### Testing Instructions <!-- Give a quick description of steps to test your changes. --> Closes PACK-2585
Author
Parents
Loading