Last active
December 27, 2015 12:39
-
-
Save kristoferjoseph/7327929 to your computer and use it in GitHub Desktop.
resin: Topcoat preprocessor based on Rework
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var rework = require('rework'), | |
imprt = require('rework-npm'), | |
vars = require('rework-vars'), | |
read = require('fs').readFileSync, | |
css = rework(read('./entry.css', 'utf8')) | |
.use(imprt()) | |
.use(vars()) | |
.use(rework.extend()) | |
.toString(); | |
console.log(css); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment