From 1d7f8fa444ca78dc75dc4e0bedc61c36a6ef5375 Mon Sep 17 00:00:00 2001 From: Arno Roldao Junior Date: Tue, 28 Jun 2016 21:12:20 -0300 Subject: [PATCH] Separate: task 'CONCAT' and create module for 'load-config-grunt' --- grunt-tasks/concat.js | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 grunt-tasks/concat.js diff --git a/grunt-tasks/concat.js b/grunt-tasks/concat.js new file mode 100644 index 000000000..365be72df --- /dev/null +++ b/grunt-tasks/concat.js @@ -0,0 +1,20 @@ +// Concat compiled JS files +'use strict'; + +module.exports = function (grunt) { + return { + options: { + stripBanners: true, + banner: '<%= banner %>' + }, + adminlte: { + src: [ + 'build/js/src/Layout.js', + 'build/js/src/Treeview.js', + 'build/js/src/PushMenu.js', + 'build/js/src/Widget.js' + ], + dest: 'build/js/src/AdminLTE.js' + } + }; +};