Skip to content

Repository files navigation

Evolution7GruntUseminBundle

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:

publicfunction registerBundles()
{
$bundles = array(
// ...newEvolution7\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.

About

No description, website, or topics provided.

Resources

Stars

4 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages