evolution7/grunt-usemin-bundle
Composer 安装命令:
composer require evolution7/grunt-usemin-bundle
包简介
The GruntUseminBundle provides a Twig extension for using files processed with grunt-usemin when in production.
README 文档
README
The GruntUseminBundle contains an event listener for the kernel.controller event which prepends prod_path to the Twig template search path when in production.
This results in Twig template files processed with grunt-usemin to be used automatically.
Check out the Symfony Yeoman generator for example usage.
Installation
composer.json
"require": { "evolution7/grunt-usemin-bundle": "0.3.*" },
AppKernel.php:
public function registerBundles() { $bundles = array( // ... new Evolution7\GruntUseminBundle\Evolution7GruntUseminBundle(), // ... );
Default Bundle Configuration
evolution7_grunt_usemin: dev_path: "app/Resources" prod_path: "app/dist/Resources"
License
MIT license Copyright (c) 2013, Evolution 7.
统计信息
- 总下载量: 2.52k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2013-10-10