Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/reisraff/phulp-scss-compiler
- Owner: reisraff
- License: mit
- Created: 2016-10-27T18:05:12.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2021-01-27T19:09:34.000Z (almost 4 years ago)
- Last Synced: 2024-04-09T22:01:36.376Z (7 months ago)
- Topics: compiler, php, phulp, phulp-scss-compiler, phulpplugin, scss, scss-compiler
- Language: PHP
- Homepage: https://github.com/reisraff/phulp
- Size: 13.7 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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/']
]);```