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 Mar 18, 2023. It is now read-only.
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.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
The text was updated successfully, but these errors were encountered: