UNPKG

wocat

Version:

Convert regular dependencies to Catalogs.

31 lines (25 loc) 919 B
'use strict'; const cli = require('@wocat/cli'); const core = require('@wocat/core'); function defineConfig(config) { return config; } exports.defineConfig = defineConfig; Object.prototype.hasOwnProperty.call(cli, '__proto__') && !Object.prototype.hasOwnProperty.call(exports, '__proto__') && Object.defineProperty(exports, '__proto__', { enumerable: true, value: cli['__proto__'] }); Object.keys(cli).forEach(function (k) { if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = cli[k]; }); Object.prototype.hasOwnProperty.call(core, '__proto__') && !Object.prototype.hasOwnProperty.call(exports, '__proto__') && Object.defineProperty(exports, '__proto__', { enumerable: true, value: core['__proto__'] }); Object.keys(core).forEach(function (k) { if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = core[k]; });