Socket
Book a DemoInstallSign in
Socket

eleventy-plugin-less

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eleventy-plugin-less

Plugin for eleventy (11ty) that converts Less stylesheets to CSS

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
1
Created
Source

eleventy-plugin-less

Plugin for Eleventy (11ty) to compile Less stylesheets to CSS.

Currently compiles every .less file in your project into a distinct output .ccs file. You can use eleventy ignores to disable compilation of library, utility, etc. files.

Automatically appends inline sourcemaps to the end of files.

Usage

In your .eleventy.js config file:

const pluginLess = require("eleventy-plugin-less");

module.exports = function (eleventyConfig) {
	eleventyConfig.addPlugin(pluginLess);
    // ...
};

There are currently no configuration options.

Todo

  • Tests
  • Add a way to specify entrypoint files and ignore all others
  • Add a way to control sourcemaps
  • Allow options to be passed directly to less

Keywords

eleventy-plugin

FAQs

Package last updated on 08 Jun 2024

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