import type { SerializeContentSections } from './types'; /** * Parses content string into separate HTML, CSS, and JS sections. * * Extracts CSS from ` ); } // Add JS if present if ( js.trim() ) { parts.push( `` ); } // Add HTML if ( html.trim() ) { parts.push( html ); } return parts.join( '\n\n' ); }