This repository was archived by the owner on Nov 22, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +16
-11
lines changed Expand file tree Collapse file tree 4 files changed +16
-11
lines changed Original file line number Diff line number Diff line change @@ -55,14 +55,14 @@ module.exports = grunt => {
55
55
banners : {
56
56
unminified :
57
57
`/*!
58
- * <%= pkg.prettyName %> v<%= pkg.version %>
59
- * <%= pkg.homepage %>
60
- *
61
- * Copyright (c) 2013-<%= grunt.template.today("yyyy") %> <%= pkg.author.name %>
62
- * License: <%= pkg.license %>
63
- *
64
- * Generated at <%= grunt.template.today("yyyy-mm-dd HH:MM:ss o") %>
65
- */` ,
58
+ * <%= pkg.prettyName %> v<%= pkg.version %>
59
+ * <%= pkg.homepage %>
60
+ *
61
+ * Copyright (c) 2013-<%= grunt.template.today("yyyy") %> <%= pkg.author.name %>
62
+ * License: <%= pkg.license %>
63
+ *
64
+ * Generated at <%= grunt.template.today("yyyy-mm-dd HH:MM:ss o") %>
65
+ */`,
66
66
minified : '/*! <%= pkg.prettyName %> v<%= pkg.version %> License: <%= pkg.license %> */'
67
67
}
68
68
} ;
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ module.exports = {
11
11
expand : true ,
12
12
src : [
13
13
'<%= files.js.outMin %>' ,
14
+ '<%= files.js.outMin %>.map' ,
14
15
'<%= files.css.main.outMin %>' ,
15
16
'<%= files.css.bootstrap.outMin %>'
16
17
] ,
@@ -27,6 +28,7 @@ module.exports = {
27
28
expand : true ,
28
29
src : [
29
30
'<%= files.js.out %>' ,
31
+ '<%= files.js.out %>.map' ,
30
32
'<%= files.css.main.out %>' ,
31
33
'<%= files.css.bootstrap.out %>'
32
34
] ,
@@ -44,9 +46,10 @@ module.exports = {
44
46
expand : true ,
45
47
src : [
46
48
'<%= files.js.out %>' ,
49
+ '<%= files.js.out %>.map' ,
47
50
'<%= files.css.main.out %>' ,
48
51
'<%= files.css.bootstrap.out %>' ,
49
- '<%= files.js.outMin %>' ,
52
+ '<%= files.js.outMin %>.map ' ,
50
53
'<%= files.css.main.outMin %>' ,
51
54
'<%= files.css.bootstrap.outMin %>' ,
52
55
] ,
Original file line number Diff line number Diff line change @@ -2,7 +2,8 @@ module.exports = {
2
2
build : {
3
3
options : {
4
4
style : 'expanded' ,
5
- noCache : true
5
+ noCache : true ,
6
+ sourcemap : 'none'
6
7
} ,
7
8
files : {
8
9
'<%= files.css.main.out %>' : [ '<%= files.css.main.src %>' ] ,
Original file line number Diff line number Diff line change 1
1
module . exports = {
2
2
build : {
3
3
options : {
4
- banner : '<%= banners.minified %>'
4
+ banner : '<%= banners.minified %>' ,
5
+ sourceMap : true ,
5
6
} ,
6
7
files : {
7
8
'<%= files.js.outMin %>' : [ '<%= files.js.out %>' ]
You can’t perform that action at this time.
0 commit comments