mirror of https://github.com/hashicorp/consul
1 line
792 B
JavaScript
1 line
792 B
JavaScript
module.exports=function(t){t.initConfig({concat:{options:{separator:";"},site:{src:["javascripts/app/app-fef5a59e.js","javascripts/app/util-b7bbcb58.js","javascripts/app/home-5d31ed05.js","javascripts/app/nodes-e55e005b.js"],dest:"javascripts/app/deploy/site-c75e42b5.js"}},uglify:{app:{files:{"javascripts/app/deploy/site.min.js":["javascripts/app/deploy/site-c75e42b5.js"]}}},watch:{js:{files:"javascripts/app/*.js",tasks:["concat","uglify"]}}}),t.loadNpmTasks("grunt-contrib-clean"),t.loadNpmTasks("grunt-contrib-concat"),t.loadNpmTasks("grunt-contrib-connect"),t.loadNpmTasks("grunt-contrib-copy"),t.loadNpmTasks("grunt-contrib-uglify"),t.loadNpmTasks("grunt-contrib-watch"),t.loadNpmTasks("grunt-recess"),t.registerTask("dist-js",["concat","uglify"]),t.registerTask("dist",["dist-js"])}; |