grunt-snockets-tree

0.1.2 • Public • Published

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][getting_started] 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: 'uglify'
      },
      src: 'app/app.js',
      dest: 'public/js/app.js'
    }
  }
})

Options

minify

Type: Boolean Default: false

Specifies the type of minification we should use. This will set a grunt config object with a key of this value.

Readme

Keywords

none

Package Sidebar

Install

npm i grunt-snockets-tree

Weekly Downloads

1

Version

0.1.2

License

none

Last publish

Collaborators

  • coen-hyde