Handle type modifier in import specifiers
Committed by zhmushan
fix(compiler-sfc): handle type modifier in import specifiers (#5498)Editor assessment
Clean and complete for its size. `fix(compiler-sfc)` correctly scopes the change to the SFC compiler, 'handle type modifier in import specifiers' is imperative and identifies the exact construct (`import type` or inline type modifiers) that was previously mishandled, and the PR reference keeps provenance. The subject fits length limits with room to spare, so no truncation risk in GitHub views. What is absent is a body and an issue footer: knowing which user report surfaced this, type-only imports presumably being emitted as runtime imports, would help future readers connect symptoms. That context is recoverable from the PR, so the omission is tolerable. As it stands, the message parses per spec and files neatly as a patch fix.