Coralite v0.3.0
Coralite v0.3.0 enhances HTML module static site generation with improved slot handling, refactored naming for clarity, and updated documentation.
Coralite’s latest release of its HTML module static site generator introduces critical refinements to component handling, metadata parsing, and developer tooling, with a focus on improving consistency and extensibility in custom element workflows.
Core Functionality
- Rename core module references from
componentstocoraliteModulesfor clearer naming conventions and reduced ambiguity in large-scale projects. - Add support for default slots and dynamic content insertion in custom elements, enabling more flexible template rendering through enhanced attribute parsing logic.
- Update JSDoc documentation across key files (e.g.,
parse.js) to improve clarity and maintainability of the codebase for contributors. - Refactor
parseModule()function signature to use aelementparameter, replacing deprecatedcustomElementSlotsfor backward compatibility with modern HTML module standards.
Get the release
npm install coralite@0.3.0
For detailed information on all changes, refer to the git v0.3.0 changelog