UNPKG

marko

Version:

UI Components + streaming, async, high performance, HTML templating for Node.js and the browser.

10 lines (9 loc) 447 B
"use strict";exports.__esModule = true;exports.default = _default;var _indexHtml = _interopRequireDefault(require("./index[html]")); var _indexVdom = _interopRequireDefault(require("./index[vdom]"));function _interopRequireDefault(e) {return e && e.__esModule ? e : { default: e };} function _default(path) { if (path.hub.file.markoOpts.output === "html") { (0, _indexHtml.default)(path); } else { (0, _indexVdom.default)(path); } }