bulma/docs/scripts/02-derived.js

14 lines
367 B
JavaScript
Raw Normal View History

2018-06-16 18:58:58 +00:00
const Metalsmith = require('metalsmith');
const filter = require('metalsmith-filter');
const regex_derived = '**/derived-variables.sass';
const derived_plugin = require('./plugins/02-read-derived-variables');
Metalsmith(__dirname)
.source('../../sass')
.use(filter(regex_derived))
.use(derived_plugin())
.build(function(err) {
if (err) throw err;
});