Skip to content
This repository has been archived by the owner on Mar 18, 2023. It is now read-only.

Sub-domain issue #178

Open
Jeniczech opened this issue Nov 24, 2019 · 0 comments
Open

Sub-domain issue #178

Jeniczech opened this issue Nov 24, 2019 · 0 comments

Comments

@Jeniczech
Copy link

Hello there, I am having problems with resolving the correct URL path for the SVG file generated by the plugin. When I upload my project to a standard domain, for example "http://frontend.devs.cz/" everything works just fine, but when I move my project one level further to "http://frontend.devs.cz/myproject", for example, the plugin ignores the "myproject" pathname and creates the following path for the SVG file that is incorrect: http://frontend.devs.cz/static/images/icons/icons.svg omitting the "myproject" part. Here are my settings:
let __svg__ = { path: '../images/icons/**/*.svg', name: 'static/images/icons/icons.svg' }; require('webpack-svgstore-plugin/src/helpers/svgxhr')(__svg__);
Please help.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant