0.1.2 • Published 11 years ago

grunt-snockets-tree v0.1.2

Weekly downloads
1
License
-
Repository
github
Last release
11 years ago

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.

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.

0.1.2

11 years ago

0.1.1

11 years ago

0.1.0

11 years ago