Coralite v0.4.1
Coralite’s latest release of its HTML module static site generator introduces critical refactoring and type improvements, with a focus on refining internal parsing logic and enhancing developer tooling for consistency.
Core Functionality #
- Updated
.npmignore
patterns to exclude unnecessary files from package distributions, improving deployment efficiency. - Enhanced type definitions by introducing
CoraliteModuleValues
, ensuring precise typing for module value tokens and aligning function parameters with new type structures. - Refactored parsing logic to handle string values in attribute and text replacements more reliably, avoiding edge-case failures during template rendering.
- Reorganized code structure by moving parse stack management into internal functions, improving maintainability and reducing external dependencies.
- Improved comment handling using the spread operator for cleaner syntax and better compatibility with modern JS environments.
- Resolved an issue where text node creation inadvertently omitted original content, ensuring full fidelity in DOM rendering.
- Fixed a bug related to custom element replacement logic, addressing inconsistencies during module compilation.
Get the release #
npm install coralite@0.4.1
For detailed information on all changes, refer to the git v0.4.1 changelog
Related posts
- Coralite v0.11.3 - 18 June 25
- Coralite v0.11.2 - 15 June 25
- Coralite v0.11.1 - 5 June 25