0.0.9 • Published 8 years ago

metalsmith-styl v0.0.9

Weekly downloads
2
License
MIT
Repository
github
Last release
8 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

8 years ago

0.0.8

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago