Files: 0ae77ce854723c6cb0d10cdf9f28bcf53f3fc587 / lib / styles-write.js
329 bytesRaw
1 | const getCSS = require('./styles-compile') |
2 | const fs = require('fs') |
3 | const { join } = require('path') |
4 | |
5 | function stylesWrite () { |
6 | fs.writeFile(join(__dirname, '../marama.css'), getCSS(), (err, done) => { |
7 | if (err) throw err |
8 | console.log('mcss built') |
9 | }) |
10 | } |
11 | |
12 | module.exports = stylesWrite |
13 | |
14 | if (!module.parent) stylesWrite() |
15 |
Built with git-ssb-web