# task-scss

> Sass task for gulp, ready to use.

Latest version **0.0.4** (published 2015-08-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install task-scss
pnpm add task-scss
yarn add task-scss
bun add task-scss
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.4 |
| Published | 2015-08-17 |
| First published | 2015-08-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Valentin Wetenkamp |
| Maintainers | silom |
| Keywords | gulp, task, precreated, sass |

## Links

- npm: https://www.npmjs.com/package/task-scss
- Repository: https://github.com/Silom/task-sass
- Homepage: https://github.com/Silom/task-sass#readme
- Issues: https://github.com/Silom/task-sass/issues
- npm.io page: https://npm.io/package/task-scss

## Dependencies (4)

- [gulp-sass](https://npm.io/package/gulp-sass.md) ^2.0.1
- [gulp-watch](https://npm.io/package/gulp-watch.md) ^4.2.4
- [gulp-plumber](https://npm.io/package/gulp-plumber.md) ^1.0.1
- [gulp-autoprefixer](https://npm.io/package/gulp-autoprefixer.md) ^2.3.1

## Recent versions

- 0.0.4 (latest) — 2015-08-17
- 0.0.3 — 2015-08-17
- 0.0.2 — 2015-08-17
- 0.0.1 — 2015-08-17

## README

# Task-Sass

Compiles and watches all Scss-files.

``npm install --save task-scss``

If you have any idea on other tasks that you need in your project, just tell me and I will most likely create it for you :).

## Configurations

Task will have the name ``'sass:watch'`` and ``sass:build``.

Build will build one time.
Watch will build on change.

##### rootFile

The index file of you project.


##### output

Glop for the destination of the bundle.css file.

##### watch

Glop for watcher.

##### prefix

This is optional and will add browser flags for your css (-webkit- etc.).
Change this to any value that works with [autoprefixer](https://github.com/postcss/autoprefixer).


*Example:*

```
require("task-sass")(gulp, {
  rootFile: './style/bundle.sass',
  output: dest + 'css/',
  watch: './style/**/*.sass'
})
```

*Example for optional parameter:*

```
require("task-sass")(gulp, {
  ...
  // optional (last 2 is the default, I will make the autoprefixer completely optional for those who like mixins more)
  prefix: ['last 2 versions'],
  ...
})
```

---
_Source: https://npm.io/package/task-scss · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
