mirror of
https://github.com/microsoft/frontend-bootcamp.git
synced 2026-07-12 15:18:34 +08:00
Add special case to webpack config for step1-04 docs
This commit is contained in:
@@ -40,6 +40,9 @@ fs.readdirSync('./').filter(step => {
|
||||
|
||||
if (!isEntryPoint && isValidLessonFolder(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');
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user