12345678910111213141516 |
- module.exports = GlagolStylus;
- function GlagolStylus (options) {
- return require('xtend')(require('glagol/formats/plaintext'),
- { compile: compile
- , name: 'Stylus'
- , target: 'plaintext' // TODO CSS target with browserify css
- });
- function compile (file) {
- return require('stylus').render(file.source, { filename: file._sourcePath });
- }
- }
|