split_css_by_route

Function split_css_by_route 

Source
pub fn split_css_by_route(css: &str, routes: &[&str]) -> HashMap<String, String>
Expand description

Split CSS by route for code splitting

This function analyzes CSS and splits it by route, keeping route-specific rules separate from common/shared rules.