0.0.9 • Published 10 years ago

metalsmith-styl v0.0.9

Weekly downloads
2
License
MIT
Repository
github
Last release
10 years ago

metalsmith-stylus

build status

A Stylus plugin for Metalsmith.

#WORK IN PROGRESS

Installation

npm install metalsmith-styl

Usage

//Without params
var stylus = require('metalsmith-stylus')

Metalsmith(__dirname)
  .use(stylus())
  .build()

//With params
var stylus = require('metalsmith-stylus')

Metalsmith(__dirname)
  .use(stylus({
    master: 'master.styl',
    output: 'app.css',
    filter: '.styl, .stylus, .test'
  }))
  .build()

//With outputDir
var stylus = require('metalsmith-stylus')

Metalsmith(__dirname)
  .use(stylus({
    master: 'master.styl',
    outputDir: '.'
  }))
  .build()

Options

Use any or all of the following:

filter

Extensions that need to be processed

default: .styl, .stylus

master

Name of the master file. File included in this one will not be rendered.

default: null

outputDir

Name of the folder in your build.

default: null (keep the same architecture)

output

Name of the file in your build. Use only if master is specified.

default: null

Todo

Tests

$ mocha

License

MIT License, see LICENSE for details.

0.0.9

10 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago