3.0.0 • Published 7 years ago

start-less v3.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

start-less

npm linux build windows build coverage deps

Less task for Start.

Install

npm install --save-dev start-less
# or
yarn add --dev start-less

Usage

import start from 'start';
import reporter from 'start-pretty-reporter';
import files from 'start-files';
import clean from 'start-clean';
import read from 'start-read';
import less from 'start-less';
import rename from 'start-rename';
import write from 'start-write';

export const build = () => start(reporter())(
  files('build/'),
  clean(),
  files('lib/**/*.less'),
  read(),
  less({ sourceMap: true }),
  rename(file => file.replace(/\.less$/, '.css')),
  write('build/')
);

This task relies on [{ path, data, map }] input and provides the same, see documentation for details.

Arguments

less(options)

  • optionsLess options, { relativeUrls: true, compress: false } by default
3.0.0

7 years ago

2.0.1

8 years ago

2.0.0

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago

0.1.0

8 years ago