include `fs.statSync`/`fs.stat`?
perguth opened this issue · 1 comments
perguth commented
It seems like this would a natural add to this library since one most probably stats a file before trying to read it.
fs.statSync
would eg. enable sheetify
to require any local CSS file - which would be nice.
goto-bus-stop commented
this seems fine, but I don't think it would help sheetify, as brfs can only statically evaluate calls like this:
fs.stat('./filename')
fs.stat(path.join(__dirname, 'xyz.js')
and not variable arguments (which may refer to any file on the filesystem)