JSFiddle - React, Tailwind, and code Playground
by aldomatic
JavaScript
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
//pkg: grunt.file.readJSON('package.json'),
concat: {
options: {
// define a string to put between each file in the concatenated output
separator: ';'
},
dist: {
// the files to concatenate
src: ["path/to/.js" ,"path/to/.js""],
// the location of the resulting JS file
dest: 'path/to/js/build'
}
},
uglify: {
my_target: {
files: {
'path/to/js/custom.min.js': ['path/to/js/build'']
}
}
}
});
grunt.loadNpmTasks('grunt-contrib-concat');
grunt.loadNpmTasks('grunt-contrib-less');
// Default task(s).
grunt.registerTask('default');
};