Skip to content

Commit e698056

Browse files
committed
Fix missing outputFileSuffix blobs and update defaults to match edition
1 parent 4668693 commit e698056

File tree

2 files changed

+14
-9
lines changed

2 files changed

+14
-9
lines changed

core/lib/patternlab.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
/*
2-
* patternlab-node - v2.4.2 - 2016
3-
*
1+
/*
2+
* patternlab-node - v2.4.2 - 2016
3+
*
44
* Brian Muenzenmeyer, Geoff Pursell, 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.
88
*
99
*/
1010

@@ -60,10 +60,10 @@ function processAllPatternsRecursive(pattern_assembler, patterns_dir, patternlab
6060
function checkConfiguration(patternlab) {
6161
//default the output suffixes if not present
6262
var outputFileSuffixes = {
63-
rendered: '',
63+
rendered: '.rendered',
6464
rawTemplate: '',
6565
markupOnly: '.markup-only'
66-
}
66+
};
6767

6868
if (!patternlab.config.outputFileSuffixes) {
6969
plutils.logOrange('Configuration Object "outputFileSuffixes" not found, and defaulted to the following:');

patternlab-config.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,5 +54,10 @@
5454
},
5555
"patternExportPatternPartials": [],
5656
"patternExportDirectory": "./pattern_exports/",
57-
"cacheBust": true
57+
"cacheBust": true,
58+
"outputFileSuffixes": {
59+
"rendered": ".rendered",
60+
"rawTemplate": "",
61+
"markupOnly": ".markup-only"
62+
}
5863
}

0 commit comments

Comments
 (0)