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
If the path is /common-icons/icon.svg then it must be resolved with options.paths in mind.
If such path is specified ./icon.svg, it should be resolved relatively current location.
Is that possible?
The plugin now searches either only options.paths or only relative paths.
Maybe you should make an option for custom path resolution?
getPath: function(file,url,options){// ...return/* some computed url */}
The text was updated successfully, but these errors were encountered:
monochromer
changed the title
Use relative paths and options'.paths together
Use relative paths and options.paths together
Jun 21, 2019
We want to use this scenario in our project.
If the path is
/common-icons/icon.svg
then it must be resolved withoptions.paths
in mind.If such path is specified
./icon.svg
, it should be resolved relatively current location.Is that possible?
The plugin now searches either only
options.paths
or only relative paths.Maybe you should make an option for custom path resolution?
The text was updated successfully, but these errors were encountered: