Following scss includes and downloading them does not respect paths
Closed this issue · 6 comments
if you have an asset foo that includes _bar and foo/baz , and foo/baz includes _bar (locally under foo/) it will not be downloaded automatically.
Could you provide an example project (sass project on github or something) where this happens?
Including https://raw.githubusercontent.com/select2/select2/master/src/scss/core.scss will cause this issue.
Thanks!
Now I get it: Pipe::Sass tries to download many different files in order, so it first tries to download "_layout.scss" which it cannot find, but then afterwards it downloads "layout.scss" which does exist. I will see if I can silence the warning somehow, but at least the code works as expected.
if Pipe::Sass fail to download all of the various allowed SASS filenames, it will fail loudly.
Another thing to fix is that assetpack.db should prevent Pipe::Sass from even trying to fetch the files later on.
This is now fixed.