1.0.2 • Published 6 years ago

metalsmith-inspect-files v1.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

NPM

metalsmith inspect files

This is metalsmith plugin that prints files tree in selected build step.

Example with printing build result:

const Metalsmith = require('metalsmith');
const metalsmithInspectFiles = require('metalsmith-inspect-files');

Metalsmith(__dirname)
    .source('./source')
    .destination('./build')
    .clean(true)
    .use(metalsmithInspectFiles())
    .build((err, files) => {
        if (err) { throw err; }
    });