You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@vue/language-tools now loads plugins using CJS require and enforces that plugins be in CJS format. Although node 22 supports require(ESM), it is still not fully supported in old versions.
Additionally, dynamically loading configurations (e.g., using importx / unconfig) for plugins remains unachievable.
Thus, supporting dynamic import and async plugins is necessary.
I guess we also need support from TypeScript team. Maybe we should have an issue on their repo?
What problem does this feature solve?
@vue/language-tools
now loads plugins using CJS require and enforces that plugins be in CJS format. Although node 22 supports require(ESM), it is still not fully supported in old versions.Additionally, dynamically loading configurations (e.g., using
importx
/unconfig
) for plugins remains unachievable.Thus, supporting dynamic import and async plugins is necessary.
I guess we also need support from TypeScript team. Maybe we should have an issue on their repo?
What does the proposed solution look like?
The text was updated successfully, but these errors were encountered: