that-depends-scss
v1.0.0
Published
[![Build Status](https://travis-ci.org/reergymerej/that-depends-scss.svg?branch=master)](https://travis-ci.org/reergymerej/that-depends-scss)
Downloads
2
Readme
that-depends-scss
Reads in JS, returns the imported/required file paths.
Usage
// foo.scss
@import 'z';
@import 'a';
@import './a';
import thatDependsJS from 'that-depends-scss'
const fooSource = fs.readFileSync('foo.js', 'utf8')
const dependenciesOfFoo = thatDependsSCSS(fooSource)
TODO
// returns ['./a', 'a', 'z']