Skip to content

Commit fb474dd

Browse files
committed
v1.0.0
1 parent 613ee99 commit fb474dd

3 files changed

Lines changed: 21 additions & 14 deletions

File tree

CHANGELOG

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
v1.0.0:
2+
date: 2016-02-20
3+
changes:
4+
- Update source-map to 0.5.3
5+
- Tag Grunt as peerDep to >=0.4.0
6+
- Make source maps generation a little faster
7+
- Add charset:utf-8 to sourceMappingURL
18
v0.5.1:
29
date: 2015-02-20
310
changes:

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
# grunt-contrib-concat v0.5.1 [![Build Status: Linux](https://travis-ci.org/gruntjs/grunt-contrib-concat.svg?branch=master)](https://travis-ci.org/gruntjs/grunt-contrib-concat) [![Build Status: Windows](https://ci.appveyor.com/api/projects/status/l42173901ms416km/branch/master?svg=true)](https://ci.appveyor.com/project/gruntjs/grunt-contrib-concat/branch/master)
1+
# grunt-contrib-concat v1.0.0 [![Build Status: Linux](https://travis-ci.org/gruntjs/grunt-contrib-concat.svg?branch=master)](https://travis-ci.org/gruntjs/grunt-contrib-concat) [![Build Status: Windows](https://ci.appveyor.com/api/projects/status/l42173901ms416km/branch/master?svg=true)](https://ci.appveyor.com/project/gruntjs/grunt-contrib-concat/branch/master)
22

33
> Concatenate files.
44
55

66

77
## Getting Started
8-
This plugin requires Grunt `>=0.4.0`
98

109
If 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:
1110

@@ -30,29 +29,29 @@ Task targets, files and options may be specified according to the Grunt [Configu
3029
### Options
3130

3231
#### separator
33-
Type: `String`
32+
Type: `String`
3433
Default: `grunt.util.linefeed`
3534

3635
Concatenated files will be joined on this string. If you're post-processing concatenated JavaScript files with a minifier, you may need to use a semicolon `';\n'` as the separator.
3736

3837
#### banner
39-
Type: `String`
40-
Default: empty string
38+
Type: `String`
39+
Default: `''`
4140

4241
This string will be prepended to the beginning of the concatenated output. It is processed using [grunt.template.process][], using the default options.
4342

4443
_(Default processing options are explained in the [grunt.template.process][] documentation)_
4544

4645
#### footer
47-
Type: `String`
48-
Default: empty string
46+
Type: `String`
47+
Default: `''`
4948

5049
This string will be appended to the end of the concatenated output. It is processed using [grunt.template.process][], using the default options.
5150

5251
_(Default processing options are explained in the [grunt.template.process][] documentation)_
5352

5453
#### stripBanners
55-
Type: `Boolean` `Object`
54+
Type: `Boolean` `Object`
5655
Default: `false`
5756

5857
Strip JavaScript banner comments from source files.
@@ -65,7 +64,7 @@ Strip JavaScript banner comments from source files.
6564
* `line` - If true, any contiguous _leading_ `//` line comments are stripped.
6665

6766
#### process
68-
Type: `Boolean` `Object` `Function`
67+
Type: `Boolean` `Object` `Function`
6968
Default: `false`
7069

7170
Process source files before concatenating, either as [templates][] or with a custom function.
@@ -81,19 +80,19 @@ _(Default processing options are explained in the [grunt.template.process][] doc
8180
[grunt.template.process]: https://github.com/gruntjs/grunt-docs/blob/master/grunt.template.md#grunttemplateprocess
8281

8382
#### sourceMap
84-
Type: `Boolean`
83+
Type: `Boolean`
8584
Default: `false`
8685

8786
Set to true to create a source map. The source map will be created alongside the destination file, and share the same file name with the `.map` extension appended to it.
8887

8988
#### sourceMapName
90-
Type: `String` `Function`
89+
Type: `String` `Function`
9190
Default: `undefined`
9291

9392
To customize the name or location of the generated source map, pass a string to indicate where to write the source map to. If a function is provided, the concat destination is passed as the argument and the return value will be used as the file name.
9493

9594
#### sourceMapStyle
96-
Type: `String`
95+
Type: `String`
9796
Default: `embed`
9897

9998
Determines the type of source map that is generated. The default value, `embed`, places the content of the sources directly into the map. `link` will reference the original sources in the map as links. `inline` will store the entire map as a data URI in the destination file.
@@ -281,6 +280,7 @@ grunt.initConfig({
281280

282281
## Release History
283282

283+
* 2016-02-20   v1.0.0   Update source-map to 0.5.3 Tag Grunt as peerDep to >=0.4.0 Make source maps generation a little faster Add charset:utf-8 to sourceMappingURL
284284
* 2015-02-20   v0.5.1   Fix path issues with Source Maps on Windows.
285285
* 2014-07-19   v0.5.0   Adds sourceMap option.
286286
* 2014-03-21   v0.4.0   README updates. Output updates.
@@ -297,4 +297,4 @@ grunt.initConfig({
297297

298298
Task submitted by ["Cowboy" Ben Alman](http://benalman.com/)
299299

300-
*This file was generated on Fri Feb 20 2015 10:39:55.*
300+
*This file was generated on Sat Feb 20 2016 19:54:39.*

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "grunt-contrib-concat",
33
"description": "Concatenate files.",
4-
"version": "0.5.1",
4+
"version": "1.0.0",
55
"author": {
66
"name": "Grunt Team",
77
"url": "http://gruntjs.com/"

0 commit comments

Comments
 (0)