Socket
Socket
Sign inDemoInstall

steal-less

Package Overview
Dependencies
61
Maintainers
5
Versions
30
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    steal-less

less plugin for StealJS


Version published
Weekly downloads
123
decreased by-72.73%
Maintainers
5
Install size
6.25 MB
Created
Weekly downloads
 

Readme

Source

Build Status npm version

steal-less

This is a plugin for StealJS that makes it easy to work with less files.

Usage

Install steal-less as an npm dependency:

npm install steal-less --save-dev

Next, add steal-less under plugins in the steal section of your package.json:

{
  "name": "your-project",
  ...
  "steal": {
    "plugins": [
      "steal-less"
    ],
    ...
  }
}

Once installed, steal-less allows you to import/require/steal Less files within your project:

// ES6
import "style.less";

// AMD
define(["style.less"],function(){ ... });

// CommonJS
require("style.less");

// steal
steal("style.less")

Contributing

Want to help make steal-less even better? See CONTRIBUTING.md.

Looking for a changelog? Try the releases page on GitHub.

Keywords

FAQs

Last updated on 17 Oct 2018

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc