apeman-task-scss
apeman task to compile scss files.
Installation
$ npm install apeman-task-scss --save-dev
Usage
- Define a task within Apemanfile.js
- Call the task via apeman task command.
Apemanfile.js
/** This example is an Apemanfile to use apeman-task-scss */
'use strict'
module.exports = {
$pkg: { /* ... */ },
$tasks: {
// Define your own task.
'my-task-01': require('apeman-task-scss')(
'src/application.scss',
'dest/application.css',
{}
)
}
}
Then,
$ apeman task my-task-01
Signature
define(src, dest, options) -> function
apeman task to compile scss files.
Args
Name | Type | Default | Description |
---|---|---|---|
src | string | Source file path. | |
dest | string | Destination file path. | |
options | options | Optional settings. | |
options.sourceMap | string | boolean | dest+'.map' |
License
This software is released under the MIT License.