Skip to content

Commit

Permalink
Fix bug with custom tag importing.
Browse files Browse the repository at this point in the history
  • Loading branch information
antonmedv committed Jul 6, 2016
1 parent e1440c7 commit 0286b79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler/document.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default {
return sourceNode(node.loc, [
`var Monkberry = require('monkberry');\n`,
figure.generate(), `\n`,
`module.exports = ${figure.name};\n`
`exports.default = ${figure.name};\n`
]);
} else {
return sourceNode(node.loc, [
Expand Down

0 comments on commit 0286b79

Please sign in to comment.