mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-04 15:10:06 +00:00
The collect-i18n Playwright tests were failing because Babel was trying to parse Vue and CSS files as JavaScript when importing modules in Node.js. Changes: - Add Node.js ES module loader to stub Vue components and CSS imports - Extend litegraph preprocessing to also handle CSS imports and declare keywords in src/scripts - Simplify ComfyNodeDefImpl usage in i18n collection to avoid Vue dependency chains - Add mock dialogService to bypass Vue component imports The loader intercepts .vue and .css file imports and returns appropriate stubs, while the preprocessing comments out CSS imports in TypeScript files to prevent Babel parsing errors. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>