UNPKG

podlite

Version:

Podlite - a lightweight block-based markup language

18 lines 860 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.version = exports.podlite = void 0; const schema_1 = require("@podlite/schema"); const extrnal_1 = __importDefault(require("./plugins/extrnal")); const podlite = ({ importPlugins = true }) => { let plugins = importPlugins ? extrnal_1.default : {}; return (0, schema_1.podlitePluggable)({ plugins }); }; exports.podlite = podlite; // Cannot be `import` as it's not under TS root dir // https://stackoverflow.com/questions/51070138/how-to-import-package-json-into-typescript-file-without-including-it-in-the-comp const { version: VERSION } = require('../package.json'); exports.version = VERSION; //# sourceMappingURL=index.js.map