Coralite v0.37.2 Released
Coralite v0.37.2 addresses build-time resolution failures in consuming applications by ensuring essential plugin and utility files are properly bundled for the browser runtime.
Coralite v0.37.2 is now available. This release contains a targeted bug fix that addresses build-time resolution failures for applications consuming compiled Coralite components in browser runtimes.
Fixing Browser Runtime Bundle Failures
Previously, when consuming applications compiled components using the Coralite builder, dynamic import.meta.resolve calls pointed to internal utility and plugin files. Because these files were omitted from the compilation step and the published distribution directory, it led to "Could not resolve" failures during build compilation.
To resolve this issue, the compilation process now explicitly includes ./lib/plugin.js, ./lib/utils/core.js, and ./lib/utils/index.js as esbuild entry points using the --outbase=./lib flag. These files are now fully included in the published package, ensuring clean dependency resolution for downstream projects.
How to Upgrade
To upgrade to the latest version, update your project dependencies:
npm install coralite@0.37.2
npm install coralite-scripts@0.37.2