Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

metalsmith-less

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

metalsmith-less

A LESS plugin for Metalsmith

  • 2.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
505
decreased by-37.34%
Maintainers
1
Weekly downloads
 
Created
Source

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.

Keywords

FAQs

Package last updated on 18 Mar 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc