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 9e4f4d4 commit 44c8ba7Copy full SHA for 44c8ba7
lib/markdown-compiler.js
@@ -65,7 +65,7 @@ module.exports = function(source) {
65
var parser, preprocess;
66
var params = loaderUtils.getOptions(this) || {};
67
var vueMarkdownOptions = this._compilation.__vueMarkdownOptions__;
68
- var opts = Object.create(vueMarkdownOptions.__proto__); // inherit prototype
+ var opts = vueMarkdownOptions ? Object.create(vueMarkdownOptions.__proto__) : {}; // inherit prototype
69
var preventExtract = false;
70
71
opts = Object.assign(opts, params, vueMarkdownOptions); // assign attributes
0 commit comments