research-files
v0.0.1
Published
Simple file finder with depth
Maintainers
Readme
index.js
A simple file and directory finder for Webpack or something.
Installation
$ npm i research-filesExample
let sf = require("research-files");
let path_public = 'public/assets/';
let path_src = 'resources/src/';
sf(path_src + 'style/promo/', path_public + 'promo', { insertFolder: 'css/', maxDepth: 1 }).forEach(function (filepath) {
mix.sass(filepath.base, filepath.dest).version();
});