Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/reisraff/phulp-scss-compiler

The scss compiler addon for phulp
https://github.com/reisraff/phulp-scss-compiler

compiler php phulp phulp-scss-compiler phulpplugin scss scss-compiler

Last synced: 26 days ago
JSON representation

The scss compiler addon for phulp

Awesome Lists containing this project

README

        

# phulp-scss-compiler

The scss-compiler addon for [PHULP](https://github.com/reisraff/phulp). It's a wrapper for [leafo/scssphp](https://github.com/leafo/scssphp).

## Install

```bash
$ composer require reisraff/phulp-scss-compiler
```

## Usage

```php
task('scss', function ($phulp) {
$phulp->src(['src/'], '/scss$/')
// compile
->pipe(new ScssCompiler)
// write your compiled files
->pipe($phulp->dest('dist/'));
});

```

### Options

***import_paths*** : The paths where can be located files to be imported. Should be an array

```php
['src/styles/']
]);

```