/// <binding BeforeBuild='bower, concat' ProjectOpened='bower:install' />
/*
This file in the main entry point for defining grunt tasks and using grunt plugins.
Click here to learn more. http://go.microsoft.com/fwlink/?LinkID=513275&clcid=0x409
*/
module.exports = function (grunt) {
    grunt.initConfig({
        bower: {
            install: {
                options: {
                    targetDir: "wwwroot/lib",
                    layout: "byComponent",
                    cleanTargetDir: true
                }
            }
        },

        concat: {
            js: {
                src: "Assets/js/*.js",
                dest: "wwwroot/js/site.js"
            },

            css: {
                src: "Assets/css/*.css",
                dest: "wwwroot/css/site.css"
            }
        },
    });

    grunt.registerTask("default", ["bower:install concat"]);

    grunt.loadNpmTasks("grunt-bower-task");
    grunt.loadNpmTasks("grunt-contrib-concat");
};

/// <binding BeforeBuild='bower, concat' ProjectOpened='bower:install' />
/*
This file in the main entry point for defining grunt tasks and using grunt plugins.
Click here to learn more. http://go.microsoft.com/fwlink/?LinkID=513275&clcid=0x409
*/
module.exports = function (grunt) {
    grunt.initConfig({
        bower: {
            install: {
                options: {
                    targetDir: "wwwroot/lib",
                    layout: "byComponent",
                    cleanTargetDir: true
                }
            }
        },

        concat: {
            js: {
                src: "Assets/js/*.js",
                dest: "wwwroot/js/site.js"
            },

            css: {
                src: "Assets/css/*.css",
                dest: "wwwroot/css/site.css"
            }
        },
    });

    grunt.registerTask("default", ["bower:install"]);

    grunt.loadNpmTasks("grunt-bower-task");
    grunt.loadNpmTasks("grunt-contrib-concat");
};

Fix gruntfile.js default build task.
Fix gruntfile.js default build task.
