Files: 4b2db4572b042c2bef2a996af6831e8348a78e3a / lib / styles-write.js
320 bytesRaw
1 | const fs = require('fs') |
2 | const { join } = require('path') |
3 | const getCSS = require('./get-css') |
4 | |
5 | function stylesWrite () { |
6 | fs.writeFile(join(__dirname, '../scry.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