Coralite v0.11.2
Coralite’s latest release, version 0.11.2, introduces several enhancements and bug fixes to improve the HTML module static site generator’s reliability, usability, and maintainability.
Key Improvements and Fixes #
- Introduced a new
save
method in the Coralite API to allow developers to export processed documents as HTML files directly from the module, streamlining output management. - Refactored internal file operations to use the standard
coralite.save()
method instead of manual file handling, reducing redundancy and improving consistency across the codebase. - Improved error messages for common issues such as missing template directories or incorrect module exports, aiding in faster debugging and resolution.
- Updated parameter names and type annotations in documentation to enhance clarity and accuracy for developers using the tool.
- Enhanced comment formatting consistency across the codebase for better readability and maintainability.
- Added a TypeScript ignore directive (
// @ts-ignore
) for specific module exports to address compatibility issues during type checking. - Fixed an issue in the
replaceToken
function where directive nodes were not being correctly skipped, ensuring more accurate template processing and rendering.
Get the release #
npm install coralite@0.11.2
For detailed information on all changes, refer to the git v0.11.2 changelog
Related posts
- Coralite v0.11.3 - 18 June 25
- Coralite v0.11.1 - 5 June 25