bulma/docs/scripts/01-initial.js
2018-06-20 01:21:22 +01:00

14 lines
367 B
JavaScript

const Metalsmith = require('metalsmith');
const filter = require('metalsmith-filter');
const regex_initial = '**/initial-variables.sass';
const initial_plugin = require('./plugins/01-read-initial-variables');
Metalsmith(__dirname)
.source('../../sass')
.use(filter(regex_initial))
.use(initial_plugin())
.build(function(err) {
if (err) throw err;
});