-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What do importPath and importBase in SassImport really mean? #12
Comments
You have found a bug in the bindings, thanks! :) When I started making the bindings, I used sass/libsass@3672661 and there, So, more or less, Plus, there is memory leak when creating importer AFAICS - the |
I've finally had a time to work on this lib and I've fixed this bug - the |
I've spent a lot of time fiddling with
compileFile
andmakePathImport
and still don't understand what paths need to be passed where.The only way I have gotten this to work is if
stylesheetRoot
is set to the absolute path of the directory that contains all the stylesheets. However, I cannot explain the following behaviours:stylesheetRoot
to the relative path containing all stylesheets (relative to current-working-directory of the Haskell process),Sass.compileFile
is able to locate the file, BUTmakePathImport
is no longer able to locate the imports."."
asimportBase
tomakePathPort
, I pass absolute path of the folder containing stylesheets, it has no impact.makePathImport
is still unable to locate the file.How is this supposed to work and how are all these paths related to each other:
compileFile
The text was updated successfully, but these errors were encountered: