You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
11
10
@@ -30,29 +29,29 @@ Task targets, files and options may be specified according to the Grunt [Configu
30
29
### Options
31
30
32
31
#### separator
33
-
Type: `String`
32
+
Type: `String`
34
33
Default: `grunt.util.linefeed`
35
34
36
35
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.
37
36
38
37
#### banner
39
-
Type: `String`
40
-
Default: empty string
38
+
Type: `String`
39
+
Default: `''`
41
40
42
41
This string will be prepended to the beginning of the concatenated output. It is processed using [grunt.template.process][], using the default options.
43
42
44
43
_(Default processing options are explained in the [grunt.template.process][] documentation)_
45
44
46
45
#### footer
47
-
Type: `String`
48
-
Default: empty string
46
+
Type: `String`
47
+
Default: `''`
49
48
50
49
This string will be appended to the end of the concatenated output. It is processed using [grunt.template.process][], using the default options.
51
50
52
51
_(Default processing options are explained in the [grunt.template.process][] documentation)_
53
52
54
53
#### stripBanners
55
-
Type: `Boolean``Object`
54
+
Type: `Boolean``Object`
56
55
Default: `false`
57
56
58
57
Strip JavaScript banner comments from source files.
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.
88
87
89
88
#### sourceMapName
90
-
Type: `String``Function`
89
+
Type: `String``Function`
91
90
Default: `undefined`
92
91
93
92
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.
94
93
95
94
#### sourceMapStyle
96
-
Type: `String`
95
+
Type: `String`
97
96
Default: `embed`
98
97
99
98
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({
281
280
282
281
## Release History
283
282
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
284
284
* 2015-02-20 v0.5.1 Fix path issues with Source Maps on Windows.
0 commit comments