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
banner: '/* \n * <%= pkg.name %> - v<%= pkg.version %> - <%= grunt.template.today("yyyy") %> \n * \n * <%= pkg.author %>, and the web community.\n * Licensed under the <%= pkg.license %> license. \n * \n * Many thanks to Brad Frost and Dave Olsen for inspiration, encouragement, and advice. \n *\n */\n\n',
Copy file name to clipboardExpand all lines: builder/patternlab_grunt.js
+138-8Lines changed: 138 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -1,16 +1,137 @@
1
-
/*
2
-
* patternlab-node - v1.1.1 - 2016
3
-
*
1
+
/*
2
+
* patternlab-node - v1.1.0 - 2016
3
+
*
4
4
* Brian Muenzenmeyer, and the web community.
5
-
* Licensed under the MIT license.
6
-
*
7
-
* Many thanks to Brad Frost and Dave Olsen for inspiration, encouragement, and advice.
5
+
* Licensed under the MIT license.
6
+
*
7
+
* Many thanks to Brad Frost and Dave Olsen for inspiration, encouragement, and advice.
8
8
*
9
9
*/
10
10
11
-
varpatternlab_engine=require('./patternlab.js');
11
+
// IMPORTANT: Remember that `./` matches the root of the grunt file that requires this one!
12
+
// However, this does not apply to the `require('...')`
13
+
module.exports=function(grunt,config){
14
+
varpatternlab_engine=require('./patternlab.js'),
15
+
path=require('path');
16
+
17
+
// Project configuration.
18
+
grunt.initConfig({
19
+
pkg: grunt.file.readJSON('package.json'),
20
+
concat: {
21
+
options: {
22
+
stripBanners: true,
23
+
banner: '/* \n * <%= pkg.name %> - v<%= pkg.version %> - <%= grunt.template.today("yyyy") %> \n * \n * <%= pkg.author %>, and the web community.\n * Licensed under the <%= pkg.license %> license. \n * \n * Many thanks to Brad Frost and Dave Olsen for inspiration, encouragement, and advice. \n *\n */\n\n',
0 commit comments