UNPKG

patchbay-gatherings

Version:
15 lines (11 loc) 335 B
const fs = require('fs') const { join } = require('path') const getCSS = require('./get-css') function stylesWrite () { fs.writeFile(join(__dirname, '../patchbay-gatherings.css'), getCSS(), (err, done) => { if (err) throw err console.log('mcss built') }) } module.exports = stylesWrite if (!module.parent) stylesWrite()