feat: Support uri fragment in transformed require #49
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.