less-imports

Simple utility which recursively finds all the files which are @import-ed by a LESS file.

Usage no npm install needed!

<script type="module">
  import lessImports from 'https://cdn.skypack.dev/less-imports';
</script>

README

node-less-imports

Simple utility which recursively finds all the files which are @import-ed by a LESS file.

Usage

var lessImports = require('less-imports');
var filePaths = lessImports.findImports('/less1.less');