mirror of
https://github.com/jgthms/bulma
synced 2026-03-20 04:14:29 -07:00
Split plugins
This commit is contained in:
13
docs/scripts/03-other.js
Normal file
13
docs/scripts/03-other.js
Normal file
@@ -0,0 +1,13 @@
|
||||
const Metalsmith = require('metalsmith');
|
||||
const filter = require('metalsmith-filter');
|
||||
|
||||
const regex_sass = '**/*.sass';
|
||||
const other_plugin = require('./plugins/03-read-other-variables');
|
||||
|
||||
Metalsmith(__dirname)
|
||||
.source('../../sass')
|
||||
.use(filter(regex_sass))
|
||||
.use(other_plugin())
|
||||
.build(function(err) {
|
||||
if (err) throw err;
|
||||
});
|
||||
Reference in New Issue
Block a user