Fix example builder

This commit is contained in:
ahocevar
2018-10-30 18:25:01 +01:00
parent 2adac0b3e7
commit 071a02556e

View File

@@ -77,7 +77,7 @@ function getJsSource(chunk, jsName) {
return jsSource;
}
}
if (module.identifier.endsWith(jsName)) {
if (module.identifier.endsWith(jsName) && module.source) {
return module.source;
}
}