Coralite v0.5.0
Discover the latest updates in Coralite v0.5.0, including named slot manipulation for components, improved npm workflow configurations, and expanded test coverage to enhance static site generation capabilities.
Coralite’s latest release introduces enhanced capabilities for manipulating named slot content within components and improved test coverage, reinforcing the stability of its HTML module static site generator.
Core Functionality
- Introduced support for programmatically manipulating named slot content through the
defineComponentfunction, enabling greater flexibility in component composition and rendering logic. - Expanded test coverage to include comprehensive testing of slot functions within
defineComponent, ensuring robustness in edge cases such as nested or conditional slot usage. - Updated build configurations to automatically ignore unused files during npm package generation, improving performance and reducing unnecessary dependencies.
- Implemented additional test scenarios for named slot handling within the
<body>element, addressing potential rendering inconsistencies in complex layouts.
Get the release
npm install coralite@0.5.0
For detailed information on all changes, refer to the git v0.5.0 changelog