This is based on grunt usemin. It will create a json file that includes all usemin blocks and src's. It also can extract the raw script blocks and extend there path.
The whole purpose of this plugin is to extract the usemin blocks from your code to reuse as either templates of in other parts of your build process.
In my case I am useing it to do continues testing. my usemin blocks can be copied to my karma.conf and inside my jasmine reporter.
This plugin requires Grunt
If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:
npm install grunt-usemin-list --save-dev
In your project's Gruntfile, add a section named
useminlist to the data object passed into
This is the var that is used to declare where you want you json output to be.
This is the file type as declared by usemin comment blocks.
Declares if you would like to see the json object logged in the console.
If this exsists an attempt to create templates of the raw html blocks will be made.
This declares the path to the location you would like you raw extracted templates.
This is the file extention appended to your extracted raw files.
This will modify the src paths on all of your raw template src tags.
This will become
This is a TODO:
0.1.4 started project