pon-task-css
Pon task to compile css
Installation
$ npm install pon-task-css --save
Usage
'use strict' const pon = const ponTaskCss = { let run = }
Signatures
define(srcDir, destDir, options) -> function
Define task to compile css files
Param | type | Description |
---|---|---|
srcDir | string | Source directory name |
destDir | string | Destination directory name |
options | Object | Optional settings |
options.pattern | string|string[] | File name pattern |
options.plugins | function[] | PostCSS plugins |
options.watchDelay | number | Delay after watch |
minify(src, dest, options) -> function
Define task to minify css files
Param | type | Description |
---|---|---|
src | string|string[] | Source file names |
dest | string | Destination file name |
options | Object | Optional settings |
License
This software is released under the Apache-2.0 License.