1.0.2 • Published 6 years ago
metalsmith-inspect-files v1.0.2
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; }
});