pon-task-browser
Pon task to bundle browser script
Installation
$ npm install pon-task-browser --save
Usage
'use strict' const pon = const browser = const cssModule = browserplugins { let run = }
Signatures
define(src, dest, options, options) -> function
Define task
Param | type | Description |
---|---|---|
src | string | Source file name |
dest | string | Destination file name |
options | Object | Optional settings |
options.cacheDir | string | Cache directory path |
options | Object | Optional settings |
options.mode | boolean | Webpack mode |
options.watchDelay | number | Delay after watch |
options.watchIgnore | string[] | Pattens to ignore for watch |
License
This software is released under the Apache-2.0 License.