提交 89ba8e6b 编写于 作者: Y yylgit

cml-loader fix

上级 1026da8b
......@@ -52,7 +52,7 @@ module.exports = function(source) {
break;
case 'json':
this._module._cmlSource = JSON.stringify(cmlInfo.compiledJson || {});
output = `module.exports = ${cmlInfo.compiledJson}`;
output = `module.exports = ${this._module._cmlSource}`;
break;
default:
break;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册