reisraff / phulp-angular-template-cache
The angular-template-cache addon for phulp
1.0.0
2016-11-21 19:06 UTC
Requires
- php: >=5.6
- reisraff/phulp: ~1.7
This package is auto-updated.
Last update: 2024-10-28 04:34:36 UTC
README
The angular-template-cache addon for PHULP.
It's like gulp-angular-templatecache with some modifications.
Install
$ composer require reisraff/phulp-angular-template-cache
Usage
<?php use Phulp\AngularTemplateCache\AngularTemplateCache; $phulp->task('angular-template-cache', function ($phulp) { $phulp->src(['src/'], '/html$/') ->pipe(new AngularTemplateCache('templateCacheHtml.js', ['module' => 'app', 'root' => 'app'])) });