-
Notifications
You must be signed in to change notification settings - Fork 4
Description
Hello, you made a very useful plugin, but unfortunately it doesn't work for me - I'm trying Parcel as an alternative to webpack project builder and I like it, but there are one BUT that I still can't beat (here are links to starting builds - build on Parcel and build on webpack):
In the assembly under the webpack, I used svg-sprite-loader to create svg sprites, which adds immediately after opening body svg with symbols like this:
<svg> <symbol ...> <symbol ...>
and your plugin, judging by the description, should also work in a similar way, but it doesn't work for me.
I tried to configure the plugin both through the package.json and through a separate settings file, I also tried to run the project simply on html (I use a pug in the assembly), but unfortunately this did not work either ((
As a result, for now, I am inserting svg in the way described in the parcel documentation (I use a pug in the project):
svg
use (href = "../../icons/facebook.svg")
but in this case, I only get an empty space, although when i click on the link in svg, the correct svg file opens((