git ssb

0+

mixmix / marama



Tree: fd8e4bbb6424efcc4479ad97fab770566256b4c4

Files: fd8e4bbb6424efcc4479ad97fab770566256b4c4 / lib / build.js

351 bytesRaw
1const compile = require('micro-css')
2const fs = require('fs')
3const { join } = require('path')
4
5fs.readFile(join(__dirname, '../index.mcss'), 'utf8', (err, mcss) => {
6 if (err) throw err
7
8 const css = compile(mcss)
9 fs.writeFile(join(__dirname, '../index.css'), css, (err, done) => {
10 if (err) throw err
11 console.log('mcss compiled')
12 })
13})
14

Built with git-ssb-web