mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-09 17:40:09 +00:00
Added unit tests to verify that treeshaking doesn't break the public API exposed through shim files in the dist folder. Tests check: - All core shim files exist (api.js, app.js, changeTracker.js, etc.) - Each shim file contains proper exports from window.comfyAPI - UI subdirectory shim files are present and valid - Metadata subdirectory shim files are present and valid - Treeshake-enabled and treeshake-disabled builds have identical shim files This ensures backward compatibility when treeshaking is enabled and prevents breaking changes to the extension API. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>