parcel-plugin-inlinesvg
parcel-plugin-inlinesvg copied to clipboard
Cannot resolve dependency './filename.svg'
MacOSX 10.12.6 Node v10.0.0 Parcel 1.5.1
Tried installing this in my project and kept getting the above error. Cloned this whole repo and ran the example and get the same thing. It errors out on trying to import any svg file.
Hi @jwhazel, I'll have a look asap. Sorry to ask, is there a reason why you are using an old version of Parcel?
@albinotonnina: the example here uses 1.5.1. I know that in semver, ^1.5.1
should resolve to 1.11.0
nowadays, but I still ended up with 1.5.1 in #16.
The same here with Windows10 64x Node 8.11.2 parcel v1.11.0
I debug this probelm and i see that lib/assert.js require 'parcel-bundler'. I install 'parcel-bundler' and it work for me