nwb
Version:
A toolkit for React, Preact & Inferno apps, React libraries and other npm modules for the web, with no configuration (until you need it)
21 lines (15 loc) • 530 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = buildPreact;
var _preact = _interopRequireDefault(require("../preact"));
var _quickCommands = require("../quickCommands");
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
/**
* Build a standalone Preact entry module, component or element.
*/
function buildPreact(args, cb) {
(0, _quickCommands.build)(args, (0, _preact.default)(args), cb);
}
module.exports = exports.default;