0.1.2 • Published 11 years ago
grunt-snockets-tree v0.1.2
grunt-snockets-tree
This grunt plugin will build a concat tree for use with grunt's concat task by scanning for require's with snockets.
Getting Started
Install this grunt plugin next to your project's grunt.js gruntfile with: npm install grunt-snockets-tree
Then add this line to your project's grunt.js
gruntfile:
grunt.loadNpmTasks('grunt-snockets-tree');
Documentation (Basic Usage)
grunt conifg
grunt.initConfig({
snockets: {
compile: {
options: {
minify: false
},
src: 'app/app.js',
dest: 'public/js/app.js'
}
}
})
Options
minify
Type: Boolean
Default: false
Specifies if we should also build a minify tree for use with grunt's min task.