UNPKG

acyort

Version:

A Node.js static website framework

13 lines (12 loc) 459 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); const core_1 = __importDefault(require("./core")); const plugin_1 = __importDefault(require("./plugin")); exports.default = (cwd, config) => { const ctx = new core_1.default(cwd, config); (0, plugin_1.default)(ctx); return ctx; };