mirror of
https://github.com/jgthms/bulma.git
synced 2024-11-14 11:14:24 +00:00
14 lines
367 B
JavaScript
14 lines
367 B
JavaScript
|
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;
|
||
|
});
|