Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    steal-lesspublic

    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

    install

    npm i steal-less

    Downloadsweekly downloads

    254

    version

    1.3.0

    license

    MIT

    repository

    githubgithub

    last publish

    collaborators

    • avatar
    • avatar
    • avatar
    • avatar
    • avatar