{"_id":"grunt-concat-sourcemap","_rev":"237972","name":"grunt-concat-sourcemap","description":"Concatenate files and generate a source map file.","dist-tags":{"latest":"0.4.3"},"maintainers":[{"name":"kozy4324","email":"kozy4324@gmail.com"}],"time":{"modified":"2021-06-03T15:52:59.000Z","created":"2013-04-24T09:15:12.164Z","0.4.3":"2014-07-03T08:55:39.730Z","0.4.2":"2014-07-03T06:45:51.672Z","0.4.1":"2014-02-03T04:27:15.856Z","0.4.0":"2013-11-18T07:11:31.613Z","0.3.2":"2013-11-05T11:40:25.595Z","0.3.1":"2013-09-10T14:43:33.999Z","0.3.0":"2013-07-08T03:21:45.896Z","0.2.2":"2013-04-25T09:18:54.043Z","0.2.1":"2013-04-25T09:18:09.161Z","0.2.0":"2013-04-25T06:58:21.914Z","0.1.0":"2013-04-24T09:15:12.164Z"},"users":{"forivall":true,"timhemming":true,"jrthib":true,"petrony":true},"author":{"name":"Koji NAKAMURA","email":"kozy4324@gmail.com"},"repository":{"type":"git","url":"git://github.com/kozy4324/grunt-concat-sourcemap.git"},"versions":{"0.4.3":{"name":"grunt-concat-sourcemap","description":"Concatenate files and generate a source map file.","version":"0.4.3","homepage":"https://github.com/kozy4324/grunt-concat-sourcemap","author":{"name":"Koji NAKAMURA","email":"kozy4324@gmail.com"},"repository":{"type":"git","url":"git://github.com/kozy4324/grunt-concat-sourcemap.git"},"bugs":{"url":"https://github.com/kozy4324/grunt-concat-sourcemap/issues"},"licenses":[{"type":"MIT","url":"https://github.com/kozy4324/grunt-concat-sourcemap/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"devDependencies":{"grunt-contrib-jshint":"~0.8.0","grunt-contrib-clean":"~0.5.0","grunt-contrib-nodeunit":"~0.3.0","grunt":"~0.4.2","grunt-contrib-coffee":"~0.9.0","grunt-contrib-copy":"~0.5.0"},"peerDependencies":{"grunt":"~0.4.1"},"keywords":["gruntplugin","concat","sourcemap"],"dependencies":{"source-map":"0.1.31"},"_id":"grunt-concat-sourcemap@0.4.3","dist":{"shasum":"9813e84e87a9ff34ddfb071f1fe25d69d237de2e","size":7820,"noattachment":false,"key":"/grunt-concat-sourcemap/-/grunt-concat-sourcemap-0.4.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/grunt-concat-sourcemap/download/grunt-concat-sourcemap-0.4.3.tgz"},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"kozy4324","email":"kozy4324@gmail.com"},"maintainers":[{"name":"kozy4324","email":"kozy4324@gmail.com"}],"directories":{},"publish_time":1404377739730,"_cnpm_publish_time":1404377739730,"_hasShrinkwrap":false},"0.4.2":{"name":"grunt-concat-sourcemap","description":"Concatenate files and generate a source map file.","version":"0.4.2","homepage":"https://github.com/kozy4324/grunt-concat-sourcemap","author":{"name":"Koji NAKAMURA","email":"kozy4324@gmail.com"},"repository":{"type":"git","url":"git://github.com/kozy4324/grunt-concat-sourcemap.git"},"bugs":{"url":"https://github.com/kozy4324/grunt-concat-sourcemap/issues"},"licenses":[{"type":"MIT","url":"https://github.com/kozy4324/grunt-concat-sourcemap/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"devDependencies":{"grunt-contrib-jshint":"~0.8.0","grunt-contrib-clean":"~0.5.0","grunt-contrib-nodeunit":"~0.3.0","grunt":"~0.4.2","grunt-contrib-coffee":"~0.9.0","grunt-contrib-copy":"~0.5.0"},"peerDependencies":{"grunt":"~0.4.1"},"keywords":["gruntplugin","concat","sourcemap"],"dependencies":{"source-map":"0.1.31"},"_id":"grunt-concat-sourcemap@0.4.2","dist":{"shasum":"51aefb1dc210db970361d9681391259d29a9bc50","size":7314,"noattachment":false,"key":"/grunt-concat-sourcemap/-/grunt-concat-sourcemap-0.4.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/grunt-concat-sourcemap/download/grunt-concat-sourcemap-0.4.2.tgz"},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"kozy4324","email":"kozy4324@gmail.com"},"maintainers":[{"name":"kozy4324","email":"kozy4324@gmail.com"}],"directories":{},"publish_time":1404369951672,"_cnpm_publish_time":1404369951672,"_hasShrinkwrap":false},"0.4.1":{"name":"grunt-concat-sourcemap","description":"Concatenate files and generate a source map file.","version":"0.4.1","homepage":"https://github.com/kozy4324/grunt-concat-sourcemap","author":{"name":"Koji NAKAMURA","email":"kozy4324@gmail.com"},"repository":{"type":"git","url":"git://github.com/kozy4324/grunt-concat-sourcemap.git"},"bugs":{"url":"https://github.com/kozy4324/grunt-concat-sourcemap/issues"},"licenses":[{"type":"MIT","url":"https://github.com/kozy4324/grunt-concat-sourcemap/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"devDependencies":{"grunt-contrib-jshint":"~0.8.0","grunt-contrib-clean":"~0.5.0","grunt-contrib-nodeunit":"~0.3.0","grunt":"~0.4.2","grunt-contrib-coffee":"~0.9.0","grunt-contrib-copy":"~0.5.0"},"peerDependencies":{"grunt":"~0.4.1"},"keywords":["gruntplugin","concat","sourcemap"],"dependencies":{"source-map":"~0.1.31"},"_id":"grunt-concat-sourcemap@0.4.1","dist":{"shasum":"3ed0c79fdca44a4eea743b0ee89b7f0cbad2e5f8","size":7291,"noattachment":false,"key":"/grunt-concat-sourcemap/-/grunt-concat-sourcemap-0.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/grunt-concat-sourcemap/download/grunt-concat-sourcemap-0.4.1.tgz"},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"kozy4324","email":"kozy4324@gmail.com"},"maintainers":[{"name":"kozy4324","email":"kozy4324@gmail.com"}],"directories":{},"publish_time":1391401635856,"_hasShrinkwrap":false,"_cnpm_publish_time":1391401635856},"0.4.0":{"name":"grunt-concat-sourcemap","description":"Concatenate files and generate a source map file.","version":"0.4.0","homepage":"https://github.com/kozy4324/grunt-concat-sourcemap","author":{"name":"Koji NAKAMURA","email":"kozy4324@gmail.com"},"repository":{"type":"git","url":"git://github.com/kozy4324/grunt-concat-sourcemap.git"},"bugs":{"url":"https://github.com/kozy4324/grunt-concat-sourcemap/issues"},"licenses":[{"type":"MIT","url":"https://github.com/kozy4324/grunt-concat-sourcemap/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"devDependencies":{"grunt-contrib-jshint":"~0.1.1","grunt-contrib-clean":"~0.4.0","grunt-contrib-nodeunit":"~0.1.2","grunt":"~0.4.1","grunt-contrib-coffee":"~0.7.0","grunt-contrib-copy":"~0.4.1"},"peerDependencies":{"grunt":"~0.4.1"},"keywords":["gruntplugin","concat","sourcemap"],"dependencies":{"source-map":"~0.1.22"},"_id":"grunt-concat-sourcemap@0.4.0","dist":{"shasum":"38febd172bffd6fb15373785a8e7ab4614c3395b","size":7127,"noattachment":false,"key":"/grunt-concat-sourcemap/-/grunt-concat-sourcemap-0.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/grunt-concat-sourcemap/download/grunt-concat-sourcemap-0.4.0.tgz"},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"kozy4324","email":"kozy4324@gmail.com"},"maintainers":[{"name":"kozy4324","email":"kozy4324@gmail.com"}],"directories":{},"publish_time":1384758691613,"_hasShrinkwrap":false,"_cnpm_publish_time":1384758691613},"0.3.2":{"name":"grunt-concat-sourcemap","description":"Concatenate files and generate a source map file.","version":"0.3.2","homepage":"https://github.com/kozy4324/grunt-concat-sourcemap","author":{"name":"Koji NAKAMURA","email":"kozy4324@gmail.com"},"repository":{"type":"git","url":"git://github.com/kozy4324/grunt-concat-sourcemap.git"},"bugs":{"url":"https://github.com/kozy4324/grunt-concat-sourcemap/issues"},"licenses":[{"type":"MIT","url":"https://github.com/kozy4324/grunt-concat-sourcemap/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"devDependencies":{"grunt-contrib-jshint":"~0.1.1","grunt-contrib-clean":"~0.4.0","grunt-contrib-nodeunit":"~0.1.2","grunt":"~0.4.1","grunt-contrib-coffee":"~0.7.0","grunt-contrib-copy":"~0.4.1"},"peerDependencies":{"grunt":"~0.4.1"},"keywords":["gruntplugin","concat","sourcemap"],"dependencies":{"source-map":"~0.1.22"},"_id":"grunt-concat-sourcemap@0.3.2","dist":{"shasum":"525900f65ff5c6714fadf68075a20e0dc991d4d1","size":7575,"noattachment":false,"key":"/grunt-concat-sourcemap/-/grunt-concat-sourcemap-0.3.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/grunt-concat-sourcemap/download/grunt-concat-sourcemap-0.3.2.tgz"},"_npmVersion":"1.1.63","_npmUser":{"name":"kozy4324","email":"kozy4324@gmail.com"},"maintainers":[{"name":"kozy4324","email":"kozy4324@gmail.com"}],"directories":{},"publish_time":1383651625595,"_hasShrinkwrap":false,"_cnpm_publish_time":1383651625595},"0.3.1":{"name":"grunt-concat-sourcemap","description":"Concatenate files and generate a source map file.","version":"0.3.1","homepage":"https://github.com/kozy4324/grunt-concat-sourcemap","author":{"name":"Koji NAKAMURA","email":"kozy4324@gmail.com"},"repository":{"type":"git","url":"git://github.com/kozy4324/grunt-concat-sourcemap.git"},"bugs":{"url":"https://github.com/kozy4324/grunt-concat-sourcemap/issues"},"licenses":[{"type":"MIT","url":"https://github.com/kozy4324/grunt-concat-sourcemap/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"devDependencies":{"grunt-contrib-jshint":"~0.1.1","grunt-contrib-clean":"~0.4.0","grunt-contrib-nodeunit":"~0.1.2","grunt":"~0.4.1","grunt-contrib-coffee":"~0.7.0","grunt-contrib-copy":"~0.4.1"},"peerDependencies":{"grunt":"~0.4.1"},"keywords":["gruntplugin","concat","sourcemap"],"dependencies":{"source-map":"~0.1.22"},"_id":"grunt-concat-sourcemap@0.3.1","dist":{"shasum":"2479d62a816114f41551745b250e397be3fa3ba5","size":5485,"noattachment":false,"key":"/grunt-concat-sourcemap/-/grunt-concat-sourcemap-0.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/grunt-concat-sourcemap/download/grunt-concat-sourcemap-0.3.1.tgz"},"_from":".","_npmVersion":"1.3.8","_npmUser":{"name":"kozy4324","email":"kozy4324@gmail.com"},"maintainers":[{"name":"kozy4324","email":"kozy4324@gmail.com"}],"directories":{},"publish_time":1378824213999,"_hasShrinkwrap":false,"_cnpm_publish_time":1378824213999},"0.3.0":{"name":"grunt-concat-sourcemap","description":"Concatenate files and generate a source map file.","version":"0.3.0","homepage":"https://github.com/kozy4324/grunt-concat-sourcemap","author":{"name":"Koji NAKAMURA","email":"kozy4324@gmail.com"},"repository":{"type":"git","url":"git://github.com/kozy4324/grunt-concat-sourcemap.git"},"bugs":{"url":"https://github.com/kozy4324/grunt-concat-sourcemap/issues"},"licenses":[{"type":"MIT","url":"https://github.com/kozy4324/grunt-concat-sourcemap/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"devDependencies":{"grunt-contrib-jshint":"~0.1.1","grunt-contrib-clean":"~0.4.0","grunt-contrib-nodeunit":"~0.1.2","grunt":"~0.4.1","grunt-contrib-coffee":"~0.7.0","grunt-contrib-copy":"~0.4.1"},"peerDependencies":{"grunt":"~0.4.1"},"keywords":["gruntplugin","concat","sourcemap"],"dependencies":{"source-map":"~0.1.22"},"_id":"grunt-concat-sourcemap@0.3.0","dist":{"shasum":"de39271ecbfd9fa9fc8e02b76e23a6efc2b27aed","size":5396,"noattachment":false,"key":"/grunt-concat-sourcemap/-/grunt-concat-sourcemap-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/grunt-concat-sourcemap/download/grunt-concat-sourcemap-0.3.0.tgz"},"_npmVersion":"1.1.63","_npmUser":{"name":"kozy4324","email":"kozy4324@gmail.com"},"maintainers":[{"name":"kozy4324","email":"kozy4324@gmail.com"}],"directories":{},"publish_time":1373253705896,"_hasShrinkwrap":false,"_cnpm_publish_time":1373253705896},"0.2.2":{"name":"grunt-concat-sourcemap","description":"Concatenate files and generate a source map file.","version":"0.2.2","homepage":"https://github.com/kozy4324/grunt-concat-sourcemap","author":{"name":"Koji NAKAMURA","email":"kozy4324@gmail.com"},"repository":{"type":"git","url":"git://github.com/kozy4324/grunt-concat-sourcemap.git"},"bugs":{"url":"https://github.com/kozy4324/grunt-concat-sourcemap/issues"},"licenses":[{"type":"MIT","url":"https://github.com/kozy4324/grunt-concat-sourcemap/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"devDependencies":{"grunt-contrib-jshint":"~0.1.1","grunt-contrib-clean":"~0.4.0","grunt-contrib-nodeunit":"~0.1.2","grunt":"~0.4.1","grunt-contrib-coffee":"~0.7.0","grunt-contrib-copy":"~0.4.1"},"peerDependencies":{"grunt":"~0.4.1"},"keywords":["gruntplugin","concat","sourcemap"],"dependencies":{"source-map":"~0.1.22"},"_id":"grunt-concat-sourcemap@0.2.2","dist":{"shasum":"8d06c07977c32a2c3a85da875a9c63ca01c2c5e9","size":4823,"noattachment":false,"key":"/grunt-concat-sourcemap/-/grunt-concat-sourcemap-0.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/grunt-concat-sourcemap/download/grunt-concat-sourcemap-0.2.2.tgz"},"_npmVersion":"1.1.63","_npmUser":{"name":"kozy4324","email":"kozy4324@gmail.com"},"maintainers":[{"name":"kozy4324","email":"kozy4324@gmail.com"}],"directories":{},"publish_time":1366881534043,"_hasShrinkwrap":false,"_cnpm_publish_time":1366881534043},"0.2.1":{"name":"grunt-concat-sourcemap","description":"Concatenate files and generate a source map file.","version":"0.2.1","homepage":"https://github.com/kozy4324/grunt-concat-sourcemap","author":{"name":"Koji NAKAMURA","email":"kozy4324@gmail.com"},"repository":{"type":"git","url":"git://github.com/kozy4324/grunt-concat-sourcemap.git"},"bugs":{"url":"https://github.com/kozy4324/grunt-concat-sourcemap/issues"},"licenses":[{"type":"MIT","url":"https://github.com/kozy4324/grunt-concat-sourcemap/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"devDependencies":{"grunt-contrib-jshint":"~0.1.1","grunt-contrib-clean":"~0.4.0","grunt-contrib-nodeunit":"~0.1.2","grunt":"~0.4.1","grunt-contrib-coffee":"~0.7.0","grunt-contrib-copy":"~0.4.1"},"peerDependencies":{"grunt":"~0.4.1"},"keywords":["gruntplugin","concat","sourcemap"],"dependencies":{"source-map":"~0.1.22"},"_id":"grunt-concat-sourcemap@0.2.1","dist":{"shasum":"77a38cd67f399b36eb4ae6ea30a1450be4cf1259","size":4821,"noattachment":false,"key":"/grunt-concat-sourcemap/-/grunt-concat-sourcemap-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/grunt-concat-sourcemap/download/grunt-concat-sourcemap-0.2.1.tgz"},"_npmVersion":"1.1.63","_npmUser":{"name":"kozy4324","email":"kozy4324@gmail.com"},"maintainers":[{"name":"kozy4324","email":"kozy4324@gmail.com"}],"directories":{},"publish_time":1366881489161,"_hasShrinkwrap":false,"_cnpm_publish_time":1366881489161},"0.2.0":{"name":"grunt-concat-sourcemap","description":"Concatenate files and generate a source map file.","version":"0.2.0","homepage":"https://github.com/k-nakamura/grunt-concat-sourcemap","author":{"name":"Koji NAKAMURA","email":"kozy4324@gmail.com"},"repository":{"type":"git","url":"git://github.com/k-nakamura/grunt-concat-sourcemap.git"},"bugs":{"url":"https://github.com/k-nakamura/grunt-concat-sourcemap/issues"},"licenses":[{"type":"MIT","url":"https://github.com/k-nakamura/grunt-concat-sourcemap/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"devDependencies":{"grunt-contrib-jshint":"~0.1.1","grunt-contrib-clean":"~0.4.0","grunt-contrib-nodeunit":"~0.1.2","grunt":"~0.4.1","source-map":"~0.1.22","grunt-contrib-coffee":"~0.7.0","grunt-contrib-copy":"~0.4.1"},"peerDependencies":{"grunt":"~0.4.1"},"keywords":["gruntplugin","concat","sourcemap"],"_id":"grunt-concat-sourcemap@0.2.0","dist":{"shasum":"d9236f200c17a9cf9ad5bab7b8524244ee6fc1d6","size":4818,"noattachment":false,"key":"/grunt-concat-sourcemap/-/grunt-concat-sourcemap-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/grunt-concat-sourcemap/download/grunt-concat-sourcemap-0.2.0.tgz"},"_npmVersion":"1.1.63","_npmUser":{"name":"kozy4324","email":"kozy4324@gmail.com"},"maintainers":[{"name":"kozy4324","email":"kozy4324@gmail.com"}],"directories":{},"publish_time":1366873101914,"_hasShrinkwrap":false,"_cnpm_publish_time":1366873101914},"0.1.0":{"name":"grunt-concat-sourcemap","description":"Concatenate files and generate a source map file.","version":"0.1.0","homepage":"https://github.com/k-nakamura/grunt-concat-sourcemap","author":{"name":"Koji NAKAMURA","email":"kozy4324@gmail.com"},"repository":{"type":"git","url":"git://github.com/k-nakamura/grunt-concat-sourcemap.git"},"bugs":{"url":"https://github.com/k-nakamura/grunt-concat-sourcemap/issues"},"licenses":[{"type":"MIT","url":"https://github.com/k-nakamura/grunt-concat-sourcemap/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"devDependencies":{"grunt-contrib-jshint":"~0.1.1","grunt-contrib-clean":"~0.4.0","grunt-contrib-nodeunit":"~0.1.2","grunt":"~0.4.1","source-map":"~0.1.22"},"peerDependencies":{"grunt":"~0.4.1"},"keywords":["gruntplugin","concat","sourcemap"],"_id":"grunt-concat-sourcemap@0.1.0","dist":{"shasum":"c6506fc8232560945b968755bb2cf389c9fe4858","size":4144,"noattachment":false,"key":"/grunt-concat-sourcemap/-/grunt-concat-sourcemap-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/grunt-concat-sourcemap/download/grunt-concat-sourcemap-0.1.0.tgz"},"_npmVersion":"1.1.63","_npmUser":{"name":"kozy4324","email":"kozy4324@gmail.com"},"maintainers":[{"name":"kozy4324","email":"kozy4324@gmail.com"}],"directories":{},"publish_time":1366794912164,"_hasShrinkwrap":false,"_cnpm_publish_time":1366794912164}},"readme":"grunt-concat-sourcemap [![Build Status](https://travis-ci.org/kozy4324/grunt-concat-sourcemap.png?branch=master)](https://travis-ci.org/kozy4324/grunt-concat-sourcemap)\n======================\n\n> Concatenate files and generate a source map file.\n\nGetting Started\n------------------\n\nThis plugin requires Grunt `~0.4.1`\n\nIf you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:\n\n```shell\nnpm install grunt-concat-sourcemap --save-dev\n```\n\nOne the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:\n\n```js\ngrunt.loadNpmTasks('grunt-concat-sourcemap');\n```\n\nThe \"concat_sourcemap\" task\n---------------------------\n\n### Overview\nIn your project's Gruntfile, add a section named `concat_sourcemap` to the data object passed into `grunt.initConfig()`.\n\n```js\ngrunt.initConfig({\n  concat_sourcemap: {\n    options: {\n      // Task-specific options go here.\n    },\n    your_target: {\n      // Target-specific file lists and/or options go here.\n    }\n  }\n})\n```\n\n### Options\n\n#### options.separator\n\nType: `String`\nDefault value: `grunt.util.linefeed`\n\nThe value that will be used to separate lines when generating sourceMappings.\n\n#### options.sourceRoot\n\nType: `String`\nDefault value: `''`\n\nAn optional root for all relative URLs in the source map.\n\n#### options.sourcesContent\n\nType: `Boolean`\nDefault value: `false`\n\nAn optional flag that tells the source map generator whether or not to include all original sources in the map. `sourcesContent` is an array of contents of the original source files. This is useful if you don't want to have to upload original src files to the webserver that will be serving the sourcemap.\n\n#### options.process\n\nType: `Function`\nDefault value: `undefined`\n\n* `undefined` - Do not apply any processing to the source files\n* `function(src, filepath)` - Process source files using the given function, called once for each file. The returned value will be used as source code.\n\n### Usage Examples\n\n#### Default Options\n\nIn this example, it will concatenate the two specified source files(in order), joining files with default separator(`grunt.util.linefeed`) and writing the output to `dest/default_options.js` and `dest/default_options.js.map`.\n\n```js\ngrunt.initConfig({\n  concat_sourcemap: {\n    options: {},\n    target: {\n      files: {\n        'dest/default_options.js': ['src/a.js', 'src/b.js']\n      }\n    }\n  }\n})\n```\n\n#### Using sourcesContent: true\n\nWhen using `sourcesContent: true` the resulting sourceMap will include all the contents of each source file inside of an array called `sourcesContent`\n\nGiven sample files as follows:\n\n`src/a.js`\n\n```js\n\"file a - line 1\";\n\"file a - line 2\";\n\n```\n\n`src/b.js` with contents as follows:\n\n```js\n\"file b - line 1\";\n\n```\n\nand the following Grunt configuration target for `concat_sourcemap`\n\n```js\ngrunt.initConfig({\n  concat_sourcemap: {\n    options: {\n      sourcesContent: true\n    },\n    target: {\n      files: {\n        'dest/default_options.js': ['src/a.js', 'src/b.js']\n      }\n    }\n  }\n})\n```\n\nYou would see a resulting `dest/default_options.js.map` that included `sourcesContent` like so:\n\n```json\n  {\n    \"version\": 3,\n    \"file\": \"default_options.js.map\",\n    \"sources\": [\n      \"src/a.js\",\n      \"src/b.js\"\n    ],\n    \"names\": [],\n    \"mappings\": \"AAAA;AACA;AACA;A;ACFA;AACA;A;ACDA;A\",\n    \"sourcesContent\": [\n      \"\\\"file a - line 1\\\";\\n\\\"file a - line 2\\\";\\n\",\n      \"\\\"file b - line 1\\\";\\n\"\n    ]\n  }\n```\n\n#### Using `process`\n\n```js\ngrunt.initConfig({\n  concat_sourcemap: {\n    options: {\n      process: function(src, filepath) {\n        return '(function(){' + src + '})();';\n      }\n    },\n    target: {\n      files: {\n        'dest/closureWrapped.js': ['src/a.js', 'src/b.js']\n      }\n    }\n  }\n})\n```\n\nMerging source map files\n------------------------\n\nIf input file has source map linkage(e.g. `//# sourceMappingURL=.*`), grunt-concat-sourcemap will read the source map and merge it into the new one. No option is needed.\n\nThe setting is to consume 2 input files generated by grunt-contrib-coffee with `sourceMap: true` option.\n\n```\ngrunt.initConfig({\n  coffee: {\n    options: { sourceMap: true },\n    target: {\n      files: {\n        'src/file1.js': ['src/file1.coffee'],\n        'src/file2.js': ['src/file2.coffee'],\n      }\n    }\n  },\n  concat_sourcemap: {\n    target: {\n      files: {\n        'dest/concatenated.js': ['src/*.js']\n      }\n    }\n  }\n})\n```\n\nThe source map generated by grunt-concat-sourcemap is as below. It refers to original coffee script source files.\n\n```\n{\n  \"version\": 3,\n  \"file\": \"concatenated.js\",\n  \"sources\": [\n    \"src/file1.coffee\",\n    \"src/file2.coffee\"\n  ],\n  \"names\": [],\n  \"mappings\": \"AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;A;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;A\"\n}\n```\n\nContributing\n------------\n\nIn lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [Grunt](http://gruntjs.com/).\n\n","_attachments":{},"homepage":"https://github.com/kozy4324/grunt-concat-sourcemap","bugs":{"url":"https://github.com/kozy4324/grunt-concat-sourcemap/issues"}}