My case for this PR is a svg within a html based vue component, where i deployed vue-template-loader for this usage. In this html i put a svg element as in
After banging my head over webpack's Module not found: Error i found out that this case may be covered by vue-template-loader, which is the purpose of this PR. Root cause is that the whole href is generated by vue-template-loader and as-is is required by webpack; this must fail because the whole href - including the uri fragment #menu - is not part of any mapped physical file location of such an svg.
Kindly request you to consider this PR; If the PR does not meet your accepted standards, after your feedback i would alternatively like to bring that in as a seperate feature request issue.
Thanks for your contribution. Would you mind making PR to vuejs/component-compiler-utils instead because vue-template-loader now completely rely on it in terms of asset transformation?
Hello katashin,
My case for this PR is a svg within a html based vue component, where i deployed
vue-template-loader
for this usage. In this html i put a svg element as inAfter banging my head over webpack's
Module not found: Error
i found out that this case may be covered byvue-template-loader
, which is the purpose of this PR. Root cause is that the whole href is generated byvue-template-loader
and as-is is required by webpack; this must fail because the whole href - including the uri fragment#menu
- is not part of any mapped physical file location of such an svg.Kindly request you to consider this PR; If the PR does not meet your accepted standards, after your feedback i would alternatively like to bring that in as a seperate feature request issue.