[compiler-sfc] getImportsExpressionExp misuses the import cache with "hoisted" urls
Version
3.2.11
Reproduction link
Steps to reproduce
yarn install
yarn serve
Open the page then the devtool
What is expected?
The image should be present twice. The <use>
tags should both have href="[...].svg#logo"
What is actually happening?
The image is present only once. The second <use>
tag has href="[...].svg"
, missing the #logo
I'm making a PR to fix it.