Skip to content

reisraff/phulp-angular-template-cache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

phulp-angular-template-cache

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']))
});