Skip to content

Commit

Permalink
fix: hoistedTags may not always be present (close #35)
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Apr 15, 2018
1 parent 1118327 commit ed33515
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/webpack/markdownLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ module.exports = function (src) {
`<template>\n` +
`<div class="content">${html}</div>\n` +
`</template>\n` +
hoistedTags.join('\n')
(hoistedTags || []).join('\n')
)
cache.set(key, res)
return res
Expand Down

0 comments on commit ed33515

Please sign in to comment.