UNPKG

marko

Version:

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

15 lines (14 loc) 498 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) { const { hub: { file: { markoOpts } } } = path; if (markoOpts.output === "html") { (0, _indexHtml.default)(path); } else { (0, _indexVdom.default)(path); } }