0.1.12 • Published 5 years ago

@vimlet/less-watcher v0.1.12

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

This is a tool that compile less files.

Features

  • Compile less files.
  • Watcher to look for changes and update files on the fly.

You can access the source code at vimlet/less-watcher

Installation

npm install @vimlet/less

Usage

  • less.render(include, output, options, callback);

    Compile .less files in given pattern.

  • less.watch(include, output, options);

    Watch for .less files changes in given pattern.

    options

    { "exclude": "glob patterns", "clean": false, "hideLog":true }

    • include: Directory to look for files.
    • output: Directory where files will be written using.
    • options:{}
    • options.exclude: Used to skip files that you don't want to compile.
    • options.clean: Empty output directory before compile.
    • options.hideLog: Remove console log of parsed files.

Command mode:

  • vimlet-less -i include -o output -e exclude -c

    Calls less.render

  • vimlet-less -i include -o output -e exclude -c -w

    Calls less.watch

License

Vimlet Less is released under MIT License. See LICENSE for details.

0.1.12

5 years ago

0.1.11

5 years ago

0.1.10

5 years ago

0.1.9

5 years ago

0.1.8

5 years ago

0.1.7

5 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago