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
{{ message }}
This repository has been archived by the owner on Oct 9, 2020. It is now read-only.
This loader doesn't have an example provided in the documentation. It may be obvious to people using React and JSX but providing usage examples would clear up confusion.
Happy to break this out into a separate issue, since this is a question about my usage of svg-inline-loader
I'm using it with Angular 1.5. My component file requires the SVG using:
When I've seen this happen, it's been because another loader was configured to match svgs. If you're still experiencing this, it might be helpful to post your webpack config.
I'm using a config provided by react-storybook (link) . You can see that file-loader match svg as well, but if I remove svg from file loader it doesn't work either.
This loader doesn't have an example provided in the documentation. It may be obvious to people using React and JSX but providing usage examples would clear up confusion.
Happy to break this out into a separate issue, since this is a question about my usage of svg-inline-loader
I'm using it with Angular 1.5. My component file requires the SVG using:
My Angular template uses this:
The generated output doesn't inline the SVG, instead providing a file or url-loader type output:
I would have expected value of
__webpack_require__(11)
to be the inlined svg rather than a path to it.I have checked my loader config and can verify that .svg uses svg-inline.
The text was updated successfully, but these errors were encountered: