Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

incorrect stats.includedFiles when data is passed to sass.render method #522

Closed
akiran opened this issue Nov 7, 2014 · 2 comments
Closed

Comments

@akiran
Copy link
Contributor

akiran commented Nov 7, 2014

I observed that value of stats.includedFiles is incorrect when data is passed to sass.render function instead of filename.

Some dependencies are missing and 'stdin' is found in stats.includedFiles

I wrote a test with index.scss containing
@import 'foo.scss';
@import 'bar.scss';

expected stats.includedFiles should be ['bar.scss', 'foo.scss', 'index.scss' ]
but it outputs ['foo.scss', 'stdin']

@kevva
Copy link
Member

kevva commented Nov 8, 2014

Since you're reading from stdin it doesn't know what the source file is (index.scss). It's weird that bar.scss doesn't get included though.

@am11
Copy link
Contributor

am11 commented Nov 9, 2014

This issue belongs to libsass and read comments on #523.

@am11 am11 closed this as completed Nov 9, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants