A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.npmjs.com/package/start-clean-css below:

start-clean-css - npm

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 cleanCSS from 'start-clean-css';

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/'),

  cleanCSS({ sourceMap: true }),

  rename(file => file.replace(/\.css$/, '.min.css')),

  write('build/')

);

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


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4