From da04553efc261756f0f9787af24f0e4b8df5bcde Mon Sep 17 00:00:00 2001 From: Pankaj Patel Date: Tue, 29 Jan 2019 14:35:34 +0100 Subject: [PATCH] added export default to suppress warnings in babel7 --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index c2393d5..5a5e732 100644 --- a/index.js +++ b/index.js @@ -7,5 +7,6 @@ module.exports = function(source) { const { html, stopNode, render } = require('@modulor-js/html'); module.exports = (${options.variable}, $container) => render(html\`${source}\`, $container); + export default module.exports; `; };