We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4df6068 commit d44ddf8Copy full SHA for d44ddf8
lib/loader.js
@@ -274,7 +274,7 @@ module.exports = function (content) {
274
}
275
276
// add requires for customBlocks
277
- if (parts.customBlocks.length) {
+ if (parts.customBlocks && parts.customBlocks.length) {
278
output += '\n/* customBlocks */\n'
279
parts.customBlocks.forEach(function (customBlock, i) {
280
// require customBlock
0 commit comments