From the course: Grunt.js: Web Workflows

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Adding task options and defaults

Adding task options and defaults - Grunt.js Tutorial

From the course: Grunt.js: Web Workflows

Start my 1-month free trial

Adding task options and defaults

- In the last video, we created our first Grunt task. Something that combines all of our JavaScript files together and puts them in our JS folder in the development builds. Let's work on adding some options to our task, and also setup a default task for Grunt. Now first, let me show you where you go if you want to explore additional plugins, or find out which options are available for our plugin. So, if you go to the Grunt website at gruntjs.com, there's a section right here called plugins, and if you click on that, you'll go to a page that looks like this. Where you see all of the different Grunt plugins. There's almost 5000 of them available. So you can look at the most popular plugins, or do a search for specific plugins. I can see my plugin right here, but I can just type concat here, and it will limit the results, so if I want to find out how to work with this plugin, then I just click on that, and it's going to give us usually installation instructions, which is what we did to…

Contents