Add special case to webpack config for step1-04 docs

This commit is contained in:
Elizabeth Craig
2019-03-05 04:01:22 -08:00
parent 852b5347e6
commit 49c15bdaa7
+3
View File
@@ -40,6 +40,9 @@ fs.readdirSync('./').filter(step => {
if (!isEntryPoint && isValidLessonFolder(step)) { if (!isEntryPoint && isValidLessonFolder(step)) {
nonWebpackedEntries.push(step); nonWebpackedEntries.push(step);
} else if (step === 'step1-04') {
// special case: this folder's `final` has code, but its `demo` doesn't
nonWebpackedEntries.push('step1-04/demo');
} }
}); });