You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
701 B
27 lines
701 B
/** |
|
* Concatenate files. |
|
* |
|
* --------------------------------------------------------------- |
|
* |
|
* Concatenates files javascript and css from a defined array. Creates concatenated files in |
|
* .tmp/public/contact directory |
|
* [concat](https://github.com/gruntjs/grunt-contrib-concat) |
|
* |
|
* For usage docs see: |
|
* https://github.com/gruntjs/grunt-contrib-concat |
|
*/ |
|
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' |
|
} |
|
}); |
|
|
|
grunt.loadNpmTasks('grunt-contrib-concat'); |
|
};
|
|
|