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

@qiwi/neutrino-less-loader

Package Overview
Dependencies
Maintainers
5
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@qiwi/neutrino-less-loader

Neutrino middleware for importing and loading less from modules

  • 2.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
5
Created
Source

Neutrino Less Loader Middleware

@qiwi/neutrino-less-loader is Neutrino middleware for loading and importing less from modules.

Requirements

  • Node.js v8.3+
  • Yarn v1.2.1+, or npm v5.4+
  • Neutrino v8

Installation

@qiwi/neutrino-less-loader can be installed via the Yarn or npm clients.

Yarn

❯ yarn add @qiwi/neutrino-less-loader

npm

❯ npm install --save @qiwi/neutrino-less-loader

Usage

@qiwi/neutrino-less-loader can be consumed from the Neutrino API, middleware, or presets. Require this package and plug it into Neutrino:

// Using function middleware format
const lessLoader = require('@qiwi/neutrino-less-loader');

// Use with default options
neutrino.use(lessLoader);

// Usage showing default options
neutrino.use(lessLoader, {
  ruleId: 'less',
  less: {},
});
// Using object or array middleware format

// Use with default options
module.exports = {
  use: ['@qiwi/neutrino-less-loader']
};

// Usage showing default options
module.exports = {
  use: [
    ['@qiwi/neutrino-less-loader', {
      ruleId: 'less',
      less: {},
    }]
  ]
};
  • less: Set options for the less-loader used when loading LESS files.
  • ruleId: The ID of the webpack-chain rule used to identify the stylesheet loaders

Keywords

FAQs

Package last updated on 10 Jan 2019

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