irundaia / sbt-sassify

sbt-web plugin for Sass files
Apache License 2.0
68 stars 17 forks source link

Use context->getIncludedFiles to extract file dependencies #16

Closed irundaia closed 7 years ago

irundaia commented 8 years ago

Apparently, the libsass C-API includes the following function:

char** sass_context_get_included_files (struct Sass_Context* ctx);

Currently, we're getting the included files out of the source map. If we use the function above, we can probably drop the dependency on play-json.

irundaia commented 8 years ago

Nope, I forgot that we actually modify the source maps that we get out of libsass. It is possible to simplify the extraction of the dependencies though.