View our GitHub

Please visit sails-docs on GitHub to view documentation on your mobile device.

Edit Page


 * Concatenate files.
 * ---------------------------------------------------------------
 * Concatenates files javascript and css from a defined array. Creates concatenated files in
 * .tmp/public/contact directory
 * [concat](
 * For usage docs see:
module.exports = function(grunt) {

    grunt.config.set('concat', {
        js: {
            src: require('../pipeline').jsFilesToInject,
            dest: '.tmp/public/concat/production.js'
        css: {
            src: require('../pipeline').cssFilesToInject,
            dest: '.tmp/public/concat/production.css'


Is something missing?

If you notice something we've missed or could be improved on, please follow this link and submit a pull request to the sails-docs repo. Once we merge it, the changes will be immediately reflected on the website.