Closed nd0ut closed 3 months ago
This update enhances the functionality of the viewerImageSrc
function by incorporating the package name and version from a configuration file into the URL generation. This addition improves the visibility of versioned resources. Concurrently, the utils/cdn-utils.js
file has been streamlined by removing unnecessary import statements, which simplifies the module while maintaining its core functionality.
Files | Change Summary |
---|---|
blocks/CloudImageEditor/src/util.js |
Added import for PACKAGE_NAME and PACKAGE_VERSION to enhance viewerImageSrc URL construction. |
utils/cdn-utils.js |
Removed import for PACKAGE_NAME and PACKAGE_VERSION to simplify the module. |
In the patchwork of code, a name and a version,
A rabbit hops forth with joyful assertion.
With URLs bright, our resources align,
Simplified paths, oh how they do shine!
Let’s dance in the meadow of functions so clear,
For changes like these bring us all cheer! 🐇✨
Description
Checklist
Summary by CodeRabbit
New Features
Bug Fixes