2.0.0 • Published 9 years ago

metalsmith-less v2.0.0

Weekly downloads
420
License
MIT
Repository
-
Last release
9 years ago

metalsmith-less

Build Status

A LESS plugin for Metalsmith.

Installation

npm install metalsmith-less

Usage

var less = require('metalsmith-less')

new Metalsmith(__dirname)
    .use(less(options))
    .build()

options Object

  • pattern String|Array<String>

    The pattern to filter source files. Default **/*.less.

  • render Object

    The options passed to less.render(String[, Object]). Unfortunately, this method is undocumented. See https://github.com/less/less-docs/issues/212 for more information. Default undefined.

  • useDynamicSourceMap Boolean

    Overrides the supplied source map configuration with a dynamic file-level configuration. This is the easiest way to enable source maps in your Metalsmith build. Default false.

Tests

$ npm test

License

MIT License, see LICENSE for details.

2.0.0

9 years ago

1.0.3

9 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago