apeman-task-apstyle
apeman task to render React ApStyle element as a css file.
Installation
$ npm install apeman-task-apstyle --save-dev
Usage
- Define a task within Apemanfile.js
- Call the task via apeman task command.
Apemanfile.js
/** This is an example Apemanfile to use apeman-task-apstyle */ 'use strict' moduleexports = $pkg: /* ... */ $tasks: // Define your own task. 'ui:apstyle': // Options
Then,
$ apeman task my-task-01
Signature
apemanTaskApStyle(src, dest, options) -> function
apeman task to render React ApStyle element as a css file.
Args
Name | Type | Default | Description |
---|---|---|---|
src | string | React style source file. | |
dest | string | Destination file name. | |
options | object | Optional settings. | |
options.mode | string | 644 | File permission mode. |
options.props | string | {} | Properties to render. |
License
This software is released under the MIT License.